Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_dumb_init: fix syntax warning about 'is'
Use == instead of 'is'. Fixes: =============================== warnings summary =============================== tests/test_dumb_init.py:29 /home/runner/work/extsdk-container/extsdk-container/tests/test_dumb_init.py:29: SyntaxWarning: "is" with a literal. Did you mean "=="? if url is "": tests/test_dumb_init.py:34 /home/runner/work/extsdk-container/extsdk-container/tests/test_dumb_init.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? if workdir is "": tests/test_dumb_init.py:39 /home/runner/work/extsdk-container/extsdk-container/tests/test_dumb_init.py:39: SyntaxWarning: "is" with a literal. Did you mean "=="? if name is "": -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 7 passed, 3 warnings in 1.35s ========================= Signed-off-by: Tim Orling <[email protected]>
- Loading branch information