Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: JaySon-Huang <[email protected]>
  • Loading branch information
JaySon-Huang committed Oct 23, 2024
1 parent 7a90d31 commit 9968ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sqlalchemy/test_sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def test_alter_tiflash_replica(self):
assert r.TABLE_SCHEMA == database_name
assert r.TABLE_NAME == Item2Model.__tablename__
assert r.REPLICA_COUNT == 1
assert Item2Model.__table__.info["has_tiflash_replica"] == True
assert Item2Model.__table__.info["has_tiflash_replica"]

# Drop tiflash replica
replica.drop(engine)
Expand All @@ -348,7 +348,7 @@ def test_alter_tiflash_replica(self):
assert r.TABLE_SCHEMA == database_name
assert r.TABLE_NAME == Item2Model.__tablename__
assert r.REPLICA_COUNT == 0
assert Item2Model.__table__.info.get("has_tiflash_replica", False) == False
assert not Item2Model.__table__.info.get("has_tiflash_replica", False)

def test_query_with_index(self):
# indexes
Expand Down

0 comments on commit 9968ce0

Please sign in to comment.