Move *Type __repr__ to GenericType
This commit is contained in:
parent
080b79338d
commit
8b02c0b85e
2 changed files with 9 additions and 6 deletions
|
|
@ -44,3 +44,7 @@ def test_full_dict_representation():
|
|||
|
||||
_type.non_whitelisted_property = "34"
|
||||
_type.to_full_dict()["configuration"].keys().should.equal(["defaultTaskList", "justAnExampleTimeout"])
|
||||
|
||||
def test_string_representation():
|
||||
_type = FooType("test-foo", "v1.0")
|
||||
str(_type).should.equal("FooType(name: test-foo, version: v1.0)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue