Mercurial > hgrepos > Python > libs > ConfigMix
comparison tests/test.py @ 457:e3ae8092eaf3
FIX: unittest: duplicate name of test-method removed
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 15 Dec 2021 00:51:10 +0100 |
| parents | d6be95841380 |
| children | a68240971d3d |
comparison
equal
deleted
inserted
replaced
| 456:d6be95841380 | 457:e3ae8092eaf3 |
|---|---|
| 525 cfg.getfirstintvar_s, | 525 cfg.getfirstintvar_s, |
| 526 "db.non.existing.key", | 526 "db.non.existing.key", |
| 527 "db.non.exksting.key2", | 527 "db.non.exksting.key2", |
| 528 "intl.non.existing") | 528 "intl.non.existing") |
| 529 | 529 |
| 530 def test23_getfirstintvar_s_nonexisting(self): | 530 def test23_getfirstintvar_s_nonexisting_default(self): |
| 531 cfg = self._load(os.path.join(TESTDATADIR, "conf20.yml")) | 531 cfg = self._load(os.path.join(TESTDATADIR, "conf20.yml")) |
| 532 self.assertEqual(20, | 532 self.assertEqual(20, |
| 533 cfg.getfirstintvar_s("db.non.existing.key", | 533 cfg.getfirstintvar_s("db.non.existing.key", |
| 534 "db.non.existing.key2", | 534 "db.non.existing.key2", |
| 535 "intl.non.existing", | 535 "intl.non.existing", |
