mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-03-12 04:07:01 -04:00
test presence of a <move/> element
add a testcase for the XML output
This commit is contained in:
parent
986de91999
commit
e05f72af6c
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,8 @@ class ImportFileTests(unittest.TestCase):
|
|||
def test_import_XML(self):
|
||||
return self._successful_import__XML_test(
|
||||
fn='tests/unit/data/with-10-for-rank.txt',
|
||||
expected_regex='''<state>''', blurb='xml import worked')
|
||||
expected_regex='''<state><move pile="store0" position="0">''',
|
||||
blurb='xml import worked')
|
||||
|
||||
def test_import(self):
|
||||
return self._successful_import('tests/unit/data/with-10-for-rank.txt',
|
||||
|
|
Loading…
Add table
Reference in a new issue