fix tests

This commit is contained in:
Maximilian Hils 2014-09-12 03:16:52 +02:00
parent 9ec7963f8e
commit 2842f25b82

View File

@ -1,11 +1,11 @@
import glob
import mock
from libmproxy import utils, script
from libmproxy.proxy import config
import tservers
@mock.patch.dict("sys.modules", {"bs4": mock.Mock()})
def test_load_scripts():
example_dir = utils.Data("libmproxy").path("../examples")
scripts = glob.glob("%s/*.py" % example_dir)