mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
Compare boolean with is instead of equality
This commit is contained in:
parent
6f66b330e6
commit
b7de132d31
|
@ -298,4 +298,4 @@ def test_pycharm_docs_removed(cookies, context, use_pycharm, pycharm_docs_exist)
|
||||||
|
|
||||||
with open(f"{result.project}/docs/index.rst", "r") as f:
|
with open(f"{result.project}/docs/index.rst", "r") as f:
|
||||||
has_pycharm_docs = "pycharm/configuration" in f.read()
|
has_pycharm_docs = "pycharm/configuration" in f.read()
|
||||||
assert has_pycharm_docs == pycharm_docs_exist
|
assert has_pycharm_docs is pycharm_docs_exist
|
||||||
|
|
Loading…
Reference in New Issue
Block a user