Esempio 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
Esempio 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
Esempio 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'
Esempio 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'