def METHOD_NAME(self) -> None:
    if os.path.exists(f"green_urls_{date.today()}.db"):
        os.unlink(f"green_urls_{date.today()}.db")
    db_path = self._call_command()
    compressed_db_path = Path(f"{db_path}.gz")
    assert (
        db_path.exists()
    ), "The DB dump must persist on disk if `--upload` is not supplied."
    assert (
        not compressed_db_path.exists()
    ), "The compressed DB dump must not be created when `--upload` is not supplied."
    # Add a 'teardown' step to remove the file generated by the test.
    # Without this we can't run this test multiple times,
    # as a file can be leftover still.
    os.unlink(db_path)