diff --git a/tests/test_cli.py b/tests/test_cli.py index 1922941..e2e4aa2 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1218,7 +1218,7 @@ def test_drop_table_error(): ) assert 1 == result.exit_code assert 'Error: Table "t2" does not exist' == result.output.strip() - # Using --ignore supresses that error + # Using --ignore suppresses that error result = runner.invoke( cli.cli, ["drop-table", "test.db", "t2", "--ignore"], @@ -1259,7 +1259,7 @@ def test_drop_view_error(): ) assert 1 == result.exit_code assert 'Error: View "t2" does not exist' == result.output.strip() - # Using --ignore supresses that error + # Using --ignore suppresses that error result = runner.invoke( cli.cli, ["drop-view", "test.db", "t2", "--ignore"], @@ -2014,7 +2014,7 @@ def test_insert_detect_types(tmpdir, option_or_env_var): ] if option_or_env_var is None: - # Use environemnt variable instead of option + # Use environment variable instead of option with mock.patch.dict(os.environ, {"SQLITE_UTILS_DETECT_TYPES": "1"}): _test() else: diff --git a/tests/test_fts.py b/tests/test_fts.py index 0ae2a52..24980f7 100644 --- a/tests/test_fts.py +++ b/tests/test_fts.py @@ -269,7 +269,7 @@ def test_rebuild_fts(fresh_db): }.items() <= rows[0].items() # Insert another record table.insert(search_records[1]) - # This should NOT show up in a searchs + # This should NOT show up in searches assert len(list(table.search("are"))) == 1 # Running rebuild_fts() should fix it table.rebuild_fts()