Skip to content
Back to top
View this page

# Unit testing helpers

class agate.AgateTestCase(methodName='runTest')

  Bases: `TestCase`

  Unittest 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.

  assertRows(table, rows)

    Verify the row data in the given table match what is expected.

  assertRowNames(table, names)

    Verify the row names in the given table match what is expected.