diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-02-26 04:30:55 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-02-26 04:30:55 -0600 |
commit | 42a135329e69360745294e7bcdd4261318aeafc0 (patch) | |
tree | a51ec5416116516ce110f37a9922eaee99e8647e /tests/test_database.py | |
parent | c09b51be40444ef59809b6148184490bd4972004 (diff) |
fix flake8 warnings
Diffstat (limited to 'tests/test_database.py')
-rw-r--r-- | tests/test_database.py | 6 |
1 files changed, 3 insertions, 3 deletions
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}/') |