Skip to content

Commit 269ce5d

Browse files
authored
chore: fix lint error in bookshelf/main_test.py (#490)
* chore: fix lint error in bookshelf/main_test.py * linting
1 parent 5c8f5e8 commit 269ce5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bookshelf/main_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ def app(request):
4040

4141
@pytest.fixture
4242
def firestore():
43-
44-
import firestore
4543
"""This fixture provides a modified version of the app's Firebase model
4644
that tracks all created items and deletes them at the end of the test.
4745
4846
Any tests that directly or indirectly interact with the database should
4947
use this to ensure that resources are properly cleaned up.
5048
"""
5149

50+
import firestore
51+
5252
# Ensure no books exist before running the tests. This typically helps if
5353
# tests somehow left the database in a bad state.
5454
delete_all_books(firestore)

0 commit comments

Comments
 (0)