mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
last flake8 fix - why is local flake8 not identical to git flake8?
This commit is contained in:
@@ -46,7 +46,7 @@ def test_basic_queue():
|
||||
)
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
id1 = queue.create_download_job(source="http://www.civitai.com/models/12345", destdir=tmpdir, start=False)
|
||||
assert type(id1) == int, "expected first job id to be numeric"
|
||||
assert isinstance(id1, int), "expected first job id to be numeric"
|
||||
|
||||
job = queue.id_to_job(id1)
|
||||
assert isinstance(job, DownloadJobBase), "expected job to be a DownloadJobBase"
|
||||
|
||||
Reference in New Issue
Block a user