Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Cielquan committed Nov 25, 2020
1 parent 23ac391 commit 159cbb9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_venv_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import os
import shutil
import sys

import formelsammlung.venv_utils as vu


Expand Down Expand Up @@ -40,7 +41,7 @@ def test_get_venv_path_no_venv(monkeypatch):

result = vu.get_venv_path()

assert result == None
assert result is None


def test_get_venv_site_packages_dir(tmp_path):
Expand Down Expand Up @@ -87,7 +88,7 @@ def test_where_installed_only_venv(tmp_path, monkeypatch):

def test_where_installed_only_global_no_venv(tmp_path, monkeypatch):
"""Test where_installed with only global existing program and no venv."""
monkeypatch.setattr(vu, "get_venv_path", lambda : None)
monkeypatch.setattr(vu, "get_venv_path", lambda: None)

fake_glob_bin = tmp_path / "bin"
fake_glob_bin.mkdir()
Expand Down

0 comments on commit 159cbb9

Please sign in to comment.