def test_create_tables(models): drop_tables() create_tables() assert User.table_exists() assert Organisation.table_exists() assert UserOrg.table_exists()
def test_drop_tables(models): drop_tables() assert not User.table_exists() assert not Organisation.table_exists() assert not UserOrg.table_exists()