Permalink
Browse files

…like my test suite.

Signed-off-by: Kwpolska <kwpolska@gmail.com>
  • Loading branch information...
1 parent daa2f82 commit 6ea808dfcc4de75bb82efdaaa7209296b342626d @Kwpolska committed May 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests.py
View
4 tests.py
@@ -66,7 +66,7 @@ class TestPB(unittest.TestCase):
def setUp(self):
"""Start stuff."""
- pkgbuilder.DS.pyc
+ pkgbuilder.DS._pycreload()
#self.patches = [mock.patch('pkgbuilder.aur.AUR.request', self._aurinforequest)]
#for p in self.patches:
#p.start()
@@ -93,7 +93,7 @@ def test_build_extract(self):
req = pkgbuilder.build.extract('./pb-testsuite.tar.gz')
self.assertEqual(req, 2)
- with open('/tmp/pb-testsuite/testsuite', 'r') as f:
+ with open('./pb-testsuite/testsuite', 'r') as f:
sanitycheck = f.read().strip()
self.assertEqual(sanitycheck, '26313240')

0 comments on commit 6ea808d

Please sign in to comment.