Skip to content

Commit

Permalink
Merge pull request #547 from fk0815/main
Browse files Browse the repository at this point in the history
Fix test_restore_dataclass
  • Loading branch information
zarath committed Sep 14, 2022
2 parents 05f7b9b + c792c1b commit 92af43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def test_store_dataclass(self):
self.settings_1.store_dataclass("SectionX", illegal_config)

def test_restore_dataclass(self):
tc_1 = self.settings_1.restore_dataclass("Section1", TConfig())
tc_2 = self.settings_1.restore_dataclass("Section2", TConfig())
tc_1 = self.settings_1.restore_dataclass("Section1", self.config_1)
tc_2 = self.settings_1.restore_dataclass("Section2", self.config_2)
self.assertNotEqual(tc_1, tc_2)
self.assertEqual(tc_1, self.config_1)
self.assertEqual(tc_2, self.config_2)
Expand Down

0 comments on commit 92af43a

Please sign in to comment.