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