#4 Unittests are failing
Opened by skrzepto. Modified

When running python setup.py test

two of the tests are failing

======================================================================
FAIL: test_change (plus_plus_service.tests.test_karma.KarmaTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/skrzepto/Documents/repo/plus-plus-service/plus_plus_service/tests/test_karma.py",     line 98, in test_change
    self.assertEqual(send_request_mock.call_count, 2)
   AssertionError: 0 != 2
======================================================================
 FAIL: test_change (plus_plus_service.tests.test_karma.KarmaTestCase)
 ----------------------------------------------------------------------
  Traceback (most recent call last):
   File "/home/skrzepto/Documents/repo/plus-plus-service/plus_plus_service/tests test_karma.py",     line 98, in test_change
      self.assertEqual(send_request_mock.call_count, 2)
AssertionError: 0 != 2
----------------------------------------------------------------------
Ran 45 tests in 0.535s
FAILED (failures=2)

Hmm, I can't reproduce it here, is it a clean git clone?

The tests are run using the "tox" command, which will create the virtualenvs for you.

Let me try on a different system

when I run with 'tox' if works but only says

Ran 15 tests in 0.528s

Is that okay? The test above with the error says 45 tests

Metadata