diff --git a/tests/data/sample_module/connector.json b/tests/data/sample_module/connector.json new file mode 100644 index 0000000..fe78793 --- /dev/null +++ b/tests/data/sample_module/connector.json @@ -0,0 +1,26 @@ +{ + "arguments": { + "$schema": "https://json-schema.org/draft-07/schema#", + "properties": { + "rule_filter": { + "type": "string", + "description": "Some description" + } + }, + "type": "object", + "title": "Connector configuration" + }, + "description": "Sekoia: connecting... things", + "docker_parameters": "connector", + "name": "Connector", + "results": { + "$schema": "https://json-schema.org/draft-07/schema#", + "properties": { + }, + "required": [ + ], + "title": "Results", + "type": "object" + }, + "uuid": "667f7e89-d907-4086-a578-a2324c9a277a" +} diff --git a/tests/scripts/test_sync_library.py b/tests/scripts/test_sync_library.py index 8a2f961..11ed1c9 100644 --- a/tests/scripts/test_sync_library.py +++ b/tests/scripts/test_sync_library.py @@ -39,7 +39,7 @@ def trigger(): @pytest.fixture def connector(): - with open("tests/data/sample_module/connector_sekoiaio_.json") as f: + with open("tests/data/sample_module/connector.json") as f: connector = json.load(f) return connector