Remove periods from one-sentence comments
This commit is contained in:
parent
454c2898a0
commit
049a5f6f62
1 changed files with 308 additions and 308 deletions
|
|
@ -43,7 +43,7 @@ class TestConstraints:
|
|||
def test_delete_a_referenced_address(self, db_session, address, make_address):
|
||||
"""Remove a record that is referenced with a FK."""
|
||||
db_session.add(address)
|
||||
# Fake another_address that has the same `.primary_id` as `address`.
|
||||
# Fake another_address that has the same `.primary_id` as `address`
|
||||
db_session.add(make_address(primary_id=address.id))
|
||||
db_session.commit()
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ class TestConstraints:
|
|||
db_session.add(address)
|
||||
db_session.commit()
|
||||
|
||||
# Must delete without ORM as otherwise an UPDATE statement is emitted.
|
||||
# Must delete without ORM as otherwise an UPDATE statement is emitted
|
||||
stmt = sa.delete(db.City).where(db.City.id == address.city.id)
|
||||
|
||||
with pytest.raises(
|
||||
|
|
|
|||
Loading…
Reference in a new issue