summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py2
-rw-r--r--tests/test_database.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 063f4a2..d3f28d7 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -135,7 +135,7 @@ def tmp_db_e2() -> DatabaseEntry:
1671077831.63301,
# 1671078892.892921,
1677381461.8107588,
- #'6092d6471d3a83135293e34ef6012939',
+ # '6092d6471d3a83135293e34ef6012939',
'a61d0116844b6ebc02db62b4b1bf453d',
'english,short,update'))
diff --git a/tests/test_database.py b/tests/test_database.py
index 3dd21e0..7ca597f 100644
--- a/tests/test_database.py
+++ b/tests/test_database.py
@@ -113,7 +113,7 @@ def test_update_entry_new_entry_fname_only(tmp_db: Path,
fname: str = f'{tmp_src_dir}/new.md'
deb: tuple[str, int, str] = ('pyssg.database',
DEBUG,
- f'entry "new.md" didn\'t exist, adding with'
+ 'entry "new.md" didn\'t exist, adding with'
' defaults')
db: Database = Database(str(tmp_db))
db.read()
@@ -128,7 +128,7 @@ def test_update_entry_no_mod(tmp_db: Path,
fname: str = f'{tmp_src_dir}/first.md'
deb: tuple[str, int, str] = ('pyssg.database',
DEBUG,
- f'entry "first.md" hasn\'t been modified')
+ 'entry "first.md" hasn\'t been modified')
db: Database = Database(str(tmp_db))
db.read()
db.update(fname, f'{tmp_src_dir}/')
@@ -144,7 +144,7 @@ def test_update_entry_modified(tmp_db: Path,
f.write('Added modification.\n')
deb: tuple[str, int, str] = ('pyssg.database',
DEBUG,
- f'entry "a/second.md" new content: ')
+ 'entry "a/second.md" new content: ')
db: Database = Database(str(tmp_db))
db.read()
db.update(fname, f'{tmp_src_dir}/')