Skip to content

Commit

Permalink
Strangely, travis-ci doesn't discover django
Browse files Browse the repository at this point in the history
My local machine discovers django, but travis-ci is the
project's test-case source of truth, so adjust test
accordingly.  (I don't use django so I don't know why it
would effect my environment differently ...)
  • Loading branch information
jquast committed Jan 4, 2015
1 parent 6cd1a2d commit 07e41c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_autodetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ class AdaptersTest(TestCase):
""" Adapters detection requires a true project, we just use only our own. """

def test_autodetect_adapters_of_prospector(self):
""" Use prospector's base proj. folder, which discovers django. """
""" Use prospector's base proj. folder, discovers nothing. """
# Given
tgt_path = os.path.join(os.path.dirname(__file__), os.path.pardir)

# Exercise
detected = autodetect_libraries(tgt_path)

# Verify
self.assertEqual(set(('django',)), detected)
self.assertEqual(set(), detected)


if __name__ == '__main__':
Expand Down

0 comments on commit 07e41c3

Please sign in to comment.