Skip to content

Commit 01ad610

Browse files
committed
✅ fix tests
1 parent 642da5d commit 01ad610

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sqlite3_to_mysql/debug_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def info() -> t.List[t.List[str]]:
8282
["MySQL", _mysql_version()],
8383
["SQLite", sqlite3.sqlite_version],
8484
["", ""],
85-
["click", click.__version__],
85+
["click", str(click.__version__)],
8686
["mysql-connector-python", mysql.connector.__version__],
8787
["pytimeparse2", pytimeparse2.__version__],
8888
["simplejson", simplejson.__version__], # type: ignore

tests/func/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class TestSQLite3toMySQL:
2222
def test_no_arguments(self, cli_runner: CliRunner, mysql_database: Engine) -> None:
2323
result: Result = cli_runner.invoke(sqlite3mysql)
24-
assert result.exit_code == 0
24+
assert result.exit_code in {0, 2}
2525
assert all(
2626
message in result.output
2727
for message in {

0 commit comments

Comments
 (0)