Unit testing helpers¶
-
class
agate.AgateTestCase(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnittest case for quickly asserting logic about tables.
-
assertColumnNames(table, names)¶ Verify the column names in the given table match what is expected.
-
assertColumnTypes(table, types)¶ Verify the column types in the given table are of the expected types.
-
assertRowNames(table, names)¶ Verify the row names in the given table match what is expected.
-
assertRows(table, rows)¶ Verify the row data in the given table match what is expected.
-