test_contract#
load_test_json#
legacy_contract_json#
test_create_contract#
test_contract_from_legacy#
Test that creating contract from legacy json keeps all values from contract_json.
Source code in tests/unit/apps/core/models/test_contract.py
test_contract_from_legacy_empty_description#
Test that empty description clears description.
Source code in tests/unit/apps/core/models/test_contract.py
test_contract_from_legacy_too_big_quota#
Test that quota value is clamped to max bigint value (needed for some legacy test data).