示例#1
0
 def test_long_name_schema(self):
     "Map a schema with a long name"
     nm = 'a_schema_with_a_very_but_very_very_long_long_long_loooonng_name'
     obj = Schema(name=nm)
     assert obj.extern_filename() == 'schema.%s.yaml' % nm
示例#2
0
 def test_long_name_schema(self):
     "Map a schema with a long name"
     nm = 'a_schema_with_a_very_but_very_very_long_long_long_loooonng_name'
     obj = Schema(name=nm)
     assert obj.extern_filename() == 'schema.%s.yaml' % nm
示例#3
0
 def test_schema(self):
     "Map a schema"
     obj = Schema(name="A/C Schema")
     assert obj.extern_filename() == 'schema.a_c_schema.yaml'
示例#4
0
 def test_schema(self):
     "Map a schema"
     obj = Schema(name="A/C Schema")
     assert obj.extern_filename() == 'schema.a_c_schema.yaml'