~elopio/click/fix-two-tests

« back to all changes in this revision

Viewing changes to click/tests/integration/test_chroot.py

  • Committer: Colin Watson
  • Date: 2015-12-29 04:19:12 UTC
  • Revision ID: cjwatson@canonical.com-20151229041912-w3q01mkous85dj6v
Fix TestChroot.test_exists_no integration test to be more meaningful
rather than just testing a command syntax error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
 
82
82
    def test_exists_no(self):
83
83
        with self.assertRaises(subprocess.CalledProcessError):
84
 
            subprocess.check_call(self.command("arch-that-does-not-exist"))
 
84
            subprocess.check_call(
 
85
                self.command("arch-that-does-not-exist", "exists"))
85
86
 
86
87
 
87
88
class TestChrootName(TestChroot):