comparison tests/test_plugins_base.py @ 1031:c1e062843464

tests: LOL
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 27 Dec 2017 15:58:33 -0800
parents c2cd2ac289b2
children
comparison
equal deleted inserted replaced
1030:c2cd2ac289b2 1031:c1e062843464
24 .withFile('kitchen/plugins/testplug.py', testplug_code)) 24 .withFile('kitchen/plugins/testplug.py', testplug_code))
25 with mock_fs_scope(fs): 25 with mock_fs_scope(fs):
26 app = fs.getApp() 26 app = fs.getApp()
27 assert sorted([p.name for p in app.plugin_loader.plugins]) == \ 27 assert sorted([p.name for p in app.plugin_loader.plugins]) == \
28 sorted(['__builtin__', 'just a test plugin']) 28 sorted(['__builtin__', 'just a test plugin'])
29 assert False