Skip to content

Commit

Permalink
Fix test_configcommands
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler committed Nov 30, 2018
1 parent b3fa43a commit d549d4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/config/test_configcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@ def test_config_source(self, tmpdir, commands, config_stub, config_tmpdir,

assert not config_stub.val.content.javascript.enabled
ignore_case = config_stub.val.search.ignore_case
assert ignore_case == ('smart' if clear else 'always')
assert ignore_case == (usertypes.IgnoreCase.smart if clear
else usertypes.IgnoreCase.always)

def test_errors(self, commands, config_tmpdir):
pyfile = config_tmpdir / 'config.py'
Expand Down

0 comments on commit d549d4d

Please sign in to comment.