Skip to content

Commit

Permalink
Fix test_restore_dataclass
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>
  • Loading branch information
Frank Kunz committed Sep 14, 2022
1 parent 05f7b9b commit c792c1b
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 c792c1b

Please sign in to comment.