summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem_tests.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-08-24 17:03:43 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-08-24 17:03:43 +0100
commit6c13c2ebdea1da19bf359fef9a9e0b08e5491a4a (patch)
tree6ba54b230dc1072e07972ce0fc05fd42f62d4964 /morphlib/buildsystem_tests.py
parentee7ae31a71478228b5d5c3e0ece32fd874b35645 (diff)
downloadmorph-6c13c2ebdea1da19bf359fef9a9e0b08e5491a4a.tar.gz
buildsystem: Fix incorrect testcase
Diffstat (limited to 'morphlib/buildsystem_tests.py')
-rw-r--r--morphlib/buildsystem_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/buildsystem_tests.py b/morphlib/buildsystem_tests.py
index 07ae3b98..c955f12a 100644
--- a/morphlib/buildsystem_tests.py
+++ b/morphlib/buildsystem_tests.py
@@ -103,7 +103,7 @@ class DummyBuildSystemTests(unittest.TestCase):
class AutotoolsBuildSystemTests(unittest.TestCase):
def setUp(self):
- self.bs = morphlib.buildsystem.ManualBuildSystem()
+ self.bs = morphlib.buildsystem.AutotoolsBuildSystem()
self.tempdir = tempfile.mkdtemp()
def tearDown(self):
@@ -118,7 +118,7 @@ class AutotoolsBuildSystemTests(unittest.TestCase):
def test_autodetects_autotools(self):
create_autotools_project(self.tempdir)
- self.assertFalse(self.bs.used_by_project(self.exists))
+ self.assertTrue(self.bs.used_by_project(self.exists))
class DetectBuildSystemTests(unittest.TestCase):