mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-23 06:16:43 +00:00
add test for xaml file
This commit is contained in:
parent
bca565a73a
commit
e2ff49576f
@ -1,6 +1,7 @@
|
||||
import json
|
||||
import os
|
||||
import unittest
|
||||
import json
|
||||
|
||||
from main import TodoParser
|
||||
|
||||
|
||||
@ -82,6 +83,9 @@ class NewIssueTests(unittest.TestCase):
|
||||
def test_nix_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'nix'), 2)
|
||||
|
||||
def test_xaml_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'xml'), 2)
|
||||
|
||||
class ClosedIssueTests(unittest.TestCase):
|
||||
# Check for removed TODOs across the files specified.
|
||||
def setUp(self):
|
||||
@ -151,7 +155,9 @@ class ClosedIssueTests(unittest.TestCase):
|
||||
|
||||
def test_nix_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'nix'), 2)
|
||||
|
||||
|
||||
def test_xaml_issues(self):
|
||||
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'xml'), 2)
|
||||
|
||||
class IgnorePatternTests(unittest.TestCase):
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user