示例#1
0
 def test_generated_column_names(self):
     self.assertTrue(dbutils.column_exists('person', 'name'))
     self.assertTrue(dbutils.column_exists('person', 'age'))
     self.assertFalse(dbutils.column_exists('person', 'juice'))
示例#2
0
 def test_generated_column_names(self):
     self.assertTrue(dbutils.column_exists('person', 'pretty_name'))
     self.assertTrue(dbutils.column_exists('person', 'Age'))
     self.assertFalse(dbutils.column_exists('person', 'Gender'))
示例#3
0
 def test_generated_column_names(self):
     self.assertTrue(dbutils.column_exists('test12', 'name'))
     self.assertTrue(dbutils.column_exists('test12', 'phone_model'))
     self.assertTrue(dbutils.column_exists('test12', 'age'))
     self.assertTrue(dbutils.column_exists('test12', 'juice'))
示例#4
0
    def test_weird_headers(self):
        # Happy $8124 0*$ Email
        self.assertTrue(dbutils.column_exists('taxi', 'Happy_8124_0_Email'))

        # )()(Happy   @@ Ph@one $$
        self.assertTrue(dbutils.column_exists('taxi', 'phone'))
示例#5
0
 def test_generated_column_names(self):
     self.assertTrue(dbutils.column_exists('email', 'column_0'))
     self.assertTrue(dbutils.column_exists('email', 'column_1'))
示例#6
0
 def test_generated_column_names(self):
     self.assertTrue(dbutils.column_exists('person', 'name'))
     self.assertTrue(dbutils.column_exists('person', 'age'))
     self.assertFalse(dbutils.column_exists('person', 'juice'))
示例#7
0
 def test_column_names(self):
     self.assertTrue(dbutils.column_exists('taxi', 'HappyEmail'))
     self.assertTrue(dbutils.column_exists('taxi', 'phone'))
示例#8
0
 def test_generated_column_names(self):
     self.assertTrue(dbutils.column_exists('test12', 'name'))
     self.assertTrue(dbutils.column_exists('test12', 'phone_model'))
     self.assertTrue(dbutils.column_exists('test12', 'age'))
     self.assertTrue(dbutils.column_exists('test12', 'juice'))
示例#9
0
 def test_generated_column_names(self):
     self.assertTrue(dbutils.column_exists('person', 'pretty_name'))
     self.assertTrue(dbutils.column_exists('person', 'Age'))
     self.assertFalse(dbutils.column_exists('person', 'Gender'))
示例#10
0
 def test_generated_column_names(self):
     self.assertTrue(dbutils.column_exists('email', 'column_0'))
     self.assertTrue(dbutils.column_exists('email', 'column_1'))
示例#11
0
    def test_weird_headers(self):
        # Happy $8124 0*$ Email
        self.assertTrue(dbutils.column_exists('taxi', 'Happy_8124_0_Email'))

        # )()(Happy   @@ Ph@one $$
        self.assertTrue(dbutils.column_exists('taxi', 'phone'))
示例#12
0
 def test_column_names(self):
     self.assertTrue(dbutils.column_exists('taxi', 'HappyEmail'))
     self.assertTrue(dbutils.column_exists('taxi', 'phone'))