-
Notifications
You must be signed in to change notification settings - Fork 729
Closed
Labels
difficulty: hardfix is hard in difficultyfix is hard in difficultystatus: help wantedrequesting help from the communityrequesting help from the communitytype: questionquestion directed at the libraryquestion directed at the library
Description
Issue Summary
Tests do not run in master repo.
$ python -m unittest discover -v
test_initialization (test.test_config.UnitTests) ... ok
test_helloEmail (test.test_mail.UnitTests) ... ok
test_kitchenSink (test.test_mail.UnitTests) ... ok
test_parse (test.test_parse.UnitTests) ... {}
ok
Activating Prism (~20 seconds)
ERROR
/usr/lib/python3.4/unittest/suite.py:170: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>
self._addClassOrModuleLevelException(result, e, errorName)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
======================================================================
ERROR: setUpClass (test.test_sendgrid.UnitTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/w/hippo/sendgrid-python/test/test_sendgrid.py", line 55, in setUpClass
"oai_stoplight.json"], stdout=devnull, stderr=subprocess.STDOUT)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'prism'
----------------------------------------------------------------------
Ran 4 tests in 0.026s
FAILED (errors=1)
sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=4>
sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=5>
100 1353 100 1353 0 0 756 0 0:00:01 0:00:01 --:--:-- 756
I notice if i do
git status
I get
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
prism_linux_amd64
nothing added to commit but untracked files present (use "git add" to track)
Steps to Reproduce
- clone repo
- craete virtualenv and install dependencies via pip
- attempt to run tests
Technical details:
- latest master (e5323a7)
- python 3.4.3
- ubuntu 14.04
Metadata
Metadata
Assignees
Labels
difficulty: hardfix is hard in difficultyfix is hard in difficultystatus: help wantedrequesting help from the communityrequesting help from the communitytype: questionquestion directed at the libraryquestion directed at the library