Add xonsh_builtins fixture to test_commands_cache_lazy()

This commit is contained in:
Morten Enemark Lund 2016-09-09 09:21:38 +02:00
parent 2c0d0442e0
commit 4f9304cbd9

View file

@ -1118,7 +1118,7 @@ def test_expand_case_matching(inp, exp):
assert exp == obs
def test_commands_cache_lazy():
def test_commands_cache_lazy(xonsh_builtins):
cc = CommandsCache()
assert not cc.lazyin('xonsh')
assert 0 == len(list(cc.lazyiter()))