8000 test fix · markusressel/container-app-conf@67100ed · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel committed Jun 28, 2020
1 parent b5e59a4 commit 67100ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pytest]
testpaths = tests
6 changes: 3 additions & 3 deletions tests/data_source/source_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_toml(self):
key_path=["testing", "key2"],
default=2
)
source = TomlSource("test")
source = TomlSource("test", ["./", "./tests"])
source.load()
self.assertTrue(source.has(str_entry))
self.assertEqual(source.get(str_entry), "value")
Expand All @@ -88,7 +88,7 @@ def test_yaml(self):
key_path=["testing", "key2"],
default=2
)
source = YamlSource("test")
source = YamlSource("test", ["./", "./tests"])
source.load()
self.assertTrue(source.has(str_entry))
self.assertEqual(source.get(str_entry), "value")
Expand All @@ -104,7 +104,7 @@ def test_json(self):
key_path=["testing", "key2"],
default=2
)
source = JsonSource("test")
source = JsonSource("test", ["./", "./tests"])
source.load()
self.assertTrue(source.has(str_entry))
self.assertEqual(source.get(str_entry), "value")
Expand Down

0 comments on commit 67100ed

Please sign in to comment.
0