mirror of
https://github.com/EDCD/EDDN.git
synced 2025-05-05 09:31:03 +03:00
tests: Comment out test_messages
sections
This commit is contained in:
parent
3f5c2bff7f
commit
fa8952d0d5
@ -7,6 +7,9 @@ import pytest
|
|||||||
|
|
||||||
"""A dictionary of test messages, all in string form."""
|
"""A dictionary of test messages, all in string form."""
|
||||||
test_messages = {
|
test_messages = {
|
||||||
|
######################################################################
|
||||||
|
# Examples of invalid messages.
|
||||||
|
######################################################################
|
||||||
'invalid_json': '{not real json',
|
'invalid_json': '{not real json',
|
||||||
|
|
||||||
'plain_outdated_schema': '''{
|
'plain_outdated_schema': '''{
|
||||||
@ -29,7 +32,12 @@ test_messages = {
|
|||||||
"message": {
|
"message": {
|
||||||
}
|
}
|
||||||
}''',
|
}''',
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# journal/1 'scan' messages
|
||||||
|
######################################################################
|
||||||
|
# Example journal/1 'scan' valid message.
|
||||||
'plain_journal_scan_valid': '''{
|
'plain_journal_scan_valid': '''{
|
||||||
"$schemaRef": "https://eddn.edcd.io/schemas/journal/1",
|
"$schemaRef": "https://eddn.edcd.io/schemas/journal/1",
|
||||||
"header": {
|
"header": {
|
||||||
@ -45,7 +53,12 @@ test_messages = {
|
|||||||
"SystemAddress":3932076118738
|
"SystemAddress":3932076118738
|
||||||
}
|
}
|
||||||
}''',
|
}''',
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# commodity/3 messages
|
||||||
|
######################################################################
|
||||||
|
# Example commodity/3 valid message.
|
||||||
'plain_commodity_valid': '''{
|
'plain_commodity_valid': '''{
|
||||||
"$schemaRef": "https://eddn.edcd.io/schemas/commodity/3",
|
"$schemaRef": "https://eddn.edcd.io/schemas/commodity/3",
|
||||||
"header": {
|
"header": {
|
||||||
@ -72,6 +85,7 @@ test_messages = {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}''',
|
}''',
|
||||||
|
######################################################################
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user