(self)
| 110 | assert self.client.is_multimaster |
| 111 | |
| 112 | def test_delete_table(self): |
| 113 | name = "peekaboo" |
| 114 | self.client.create_table(name, self.schema, self.partitioning) |
| 115 | self.client.delete_table(name) |
| 116 | assert not self.client.table_exists(name) |
| 117 | |
| 118 | # Should raise a more meaningful exception at some point |
| 119 | error_msg = 'the table does not exist: table_name: "{0}"'.format(name) |
| 120 | with self.assertRaisesRegex(kudu.KuduNotFound, error_msg): |
| 121 | self.client.delete_table(name) |
| 122 | |
| 123 | def test_table_nonexistent(self): |
| 124 | self.assertRaises(kudu.KuduNotFound, self.client.table, |
nothing calls this directly
no test coverage detected