Skip to content

Commit

Permalink
fixup! [FIX] Slightly adjust test to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
carmenbianca committed Mar 30, 2022
1 parent 2da5f9c commit bbdb94a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ def test_bootstrap(tmp_path: Path, odoo_version: float, cloned_template: Path):
assert SOME_PYLINT_OPTIONAL_CHECK in pylintrc_optional
flake8 = (tmp_path / ".flake8").read_text()
assert "[flake8]" in flake8
isort = (tmp_path / ".isort.cfg").read_text()
assert "[settings]" in isort
if odoo_version > 12:
isort = (tmp_path / ".isort.cfg").read_text()
assert "[settings]" in isort
assert not (tmp_path / ".gitmodules").is_file()
# Assert other files
license_ = (tmp_path / "LICENSE").read_text()
Expand Down

0 comments on commit bbdb94a

Please sign in to comment.