1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-24 23:22:27 +01:00

Added copy_conf method test

This commit is contained in:
2016-12-31 18:47:55 +01:00
parent 1878fd48a1
commit fe83ae1813
2 changed files with 14 additions and 3 deletions

View File

@@ -80,3 +80,13 @@ class TestCD32(TestCase):
acd32.set_assets_paths()
full_path = os.path.join(self.dirname, 'Config_save.7z')
self.assertEqual(acd32.save_filename, full_path)
def test_copy_conf(self):
acd32 = cd32.CD32()
acd32.conf_file = self.fname
acd32.dir = self.dirname
self.assertTrue(acd32._copy_conf())
self.assertTrue(os.path.exists(os.path.join(self.dirname,
'Config.fs-uae')))