Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 3
0
 def test_schema(self):
     "Map a schema"
     obj = Schema(name="A/C Schema")
     assert obj.extern_filename() == 'schema.a_c_schema.yaml'
Exemplo n.º 4
0
 def test_schema(self):
     "Map a schema"
     obj = Schema(name="A/C Schema")
     assert obj.extern_filename() == 'schema.a_c_schema.yaml'