summaryrefslogtreecommitdiffstats
path: root/tests/test_db.py
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-10-29 07:41:04 -0500
committerMitsuo Tokumori <[email protected]>2023-10-29 07:41:04 -0500
commit43f9d78f8c00e13732b809519f0529ac293fd5ab (patch)
treed9779a6d4b511dd27cfe80b3f8d0ad2e5ef5d7da /tests/test_db.py
parentde8b3d760a37fc54645a2588b062f85963146070 (diff)
downloadustayml-43f9d78f8c00e13732b809519f0529ac293fd5ab.tar.gz
ustayml-43f9d78f8c00e13732b809519f0529ac293fd5ab.tar.bz2
ustayml-43f9d78f8c00e13732b809519f0529ac293fd5ab.zip
Rename to ustayml (u-stayML)
Diffstat (limited to 'tests/test_db.py')
-rw-r--r--tests/test_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_db.py b/tests/test_db.py
index 6ac4635..4e2f103 100644
--- a/tests/test_db.py
+++ b/tests/test_db.py
@@ -1,7 +1,7 @@
import sqlite3
import pytest
-from flaskr.db import get_db
+from ustayml.db import get_db
def test_get_close_db(app):
@@ -27,7 +27,7 @@ def test_init_db_command(runner, monkeypatch):
def fake_init_db():
Recorder.called = True
- monkeypatch.setattr('flaskr.db.init_db', fake_init_db)
+ monkeypatch.setattr('ustayml.db.init_db', fake_init_db)
result = runner.invoke(args=['init-db'])
assert 'Initialized' in result.output
assert Recorder.called \ No newline at end of file