Traceback (most recent call last):

 "tests/flaskr_tests.py", line 9, in setUp
self.db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp()AttributeError: 'module' object has no attribute 'app'
Traceback (most recent call last):

 "/usr/local/bin/salt-call", line 9, in <module>
load_entry_point('salt==0.17.4', 'console_scripts', 'salt-call')()

 "/usr/local/lib/python2.7/site-packages/salt/scripts.py", line 77, in salt_call
client.run()

 "/usr/local/lib/python2.7/site-packages/salt/cli/__init__.py", line 303, in run
caller.run()

 "/usr/local/lib/python2.7/site-packages/salt/cli/caller.py", line 135, in run
ret = self.call()

 "/usr/local/lib/python2.7/site-packages/salt/cli/caller.py", line 78, in call
ret['return'] = func(*args, **kwargs)

 "/usr/local/lib/python2.7/site-packages/salt/modules/freebsdpkg.py", line 290, in install
old = list_pkgs()

 "/usr/local/lib/python2.7/site-packages/salt/modules/freebsdpkg.py", line 187, in list_pkgs
pkg, ver = line.split(' ')[0].rsplit('-', 1)ValueError: need more than 1 value to unpack