예제 #1
0
 def test_table_unicode(self):
     "Map a table with Unicode characters"
     obj = Table("Fundação\\Größe таблица", '', None, None, [])
     assert obj.extern_filename() == 'table.fundação_größe_таблица.yaml'
예제 #2
0
 def test_table_unicode(self):
     "Map a table with Unicode characters"
     obj = Table(schema='public', name="Fundação\\Größe таблица")
     assert obj.extern_filename() == 'table.fundação_größe_таблица.yaml'
예제 #3
0
 def test_table(self):
     "Map a table"
     obj = Table("Weird/Or-what?HOW.WeiRD", '', None, None, [])
     assert obj.extern_filename() == 'table.weird_or_what_how_weird.yaml'
예제 #4
0
 def test_table(self):
     "Map a table"
     obj = Table(schema='public', name="Weird/Or-what?HOW.WeiRD")
     assert obj.extern_filename() == 'table.weird_or_what_how_weird.yaml'
예제 #5
0
 def test_table_unicode(self):
     "Map a table with Unicode characters"
     obj = Table(schema='public', name="Fundação\\Größe таблица")
     assert obj.extern_filename() == 'table.fundação_größe_таблица.yaml'
예제 #6
0
 def test_table(self):
     "Map a table"
     obj = Table(schema='public', name="Weird/Or-what?HOW.WeiRD")
     assert obj.extern_filename() == 'table.weird_or_what_how_weird.yaml'
예제 #7
0
 def test_table_unicode(self):
     "Map a table with Unicode characters"
     obj = Table("Fundação\\Größe таблица", '', None, None, [])
     assert obj.extern_filename() == 'table.fundação_größe_таблица.yaml'
예제 #8
0
 def test_table(self):
     "Map a table"
     obj = Table("Weird/Or-what?HOW.WeiRD", '', None, None, [])
     assert obj.extern_filename() == 'table.weird_or_what_how_weird.yaml'