-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wip] bitsreams_in_directory with ID settings
- Loading branch information
1 parent
b6233a1
commit aa8acf3
Showing
7 changed files
with
87 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
from dsaps.config import Config | ||
|
||
CONFIG = Config(config_file="tests/fixtures/config/source.json") | ||
CONFIG = Config(config_file="tests/fixtures/config/source_simple.json") | ||
|
||
|
||
def test_load_source_config(): | ||
source_config = Config.load_source_config("tests/fixtures/config/source.json") | ||
source_config = Config.load_source_config("tests/fixtures/config/source_simple.json") | ||
assert "settings" in source_config | ||
assert "mapping" in source_config | ||
|
||
|
||
def test_source_settings_with_id_configs(): | ||
source_settings = CONFIG.source_settings | ||
assert "id" in source_settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters