diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-02-01 16:20:10 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-03-13 15:20:02 +0000 |
commit | 6a61dd9cc1fe8a3ccd2128fb628ed929fd496ad0 (patch) | |
tree | e73e977eabdc5dc60dfc89152e116f40b3456a94 /morphlib/stagingarea_tests.py | |
parent | b7f69986034afef8a792839fac601caa0f20d55a (diff) | |
download | morph-6a61dd9cc1fe8a3ccd2128fb628ed929fd496ad0.tar.gz |
Remove support for bootstrap mode in staging area
This involved having a staging area with split personalities
and was generally a bit ugly.
Diffstat (limited to 'morphlib/stagingarea_tests.py')
-rw-r--r-- | morphlib/stagingarea_tests.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/morphlib/stagingarea_tests.py b/morphlib/stagingarea_tests.py index 313226d2..5c547f6e 100644 --- a/morphlib/stagingarea_tests.py +++ b/morphlib/stagingarea_tests.py @@ -1,4 +1,4 @@ -# Copyright (C) 2012,2013 Codethink Limited +# Copyright (C) 2012-2013 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -57,8 +57,7 @@ class StagingAreaTests(unittest.TestCase): self.staging = os.path.join(self.tempdir, 'staging') self.created_dirs = [] self.sa = morphlib.stagingarea.StagingArea( - FakeApplication(self.cachedir, self.tempdir), - self.staging, self.staging) + FakeApplication(self.cachedir, self.tempdir), self.staging) def tearDown(self): shutil.rmtree(self.tempdir) @@ -89,10 +88,6 @@ class StagingAreaTests(unittest.TestCase): def test_remembers_specified_directory(self): self.assertEqual(self.sa.dirname, self.staging) - def test_accepts_root_directory(self): - sa = morphlib.stagingarea.StagingArea(object(), '/', '/tmp') - self.assertEqual(sa.dirname, '/') - def test_creates_build_directory(self): source = FakeSource() self.sa._mkdir = self.fake_mkdir |