]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/test/test_cli.py
Improve a test for ref #1643, and make sure that unexpected URIs actually raise Asser...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / test / test_cli.py
index 0c06d189ba5c1bc52ec89c175d3b68bec541c3bd..688954e193afcf7c392647e40ff2b240a2dc43f3 100644 (file)
@@ -526,7 +526,7 @@ class CLI(CLITestMixin, unittest.TestCase):
         self.failUnlessReallyEqual(ga1(u"present:file"), (TA, "file"))
         # this throws, via assert IDirnodeURI.providedBy(), since get_alias()
         # wants a dirnode, and the future cap gives us UnknownURI instead.
-        #ga1(u"future:stuff")
+        self.failUnlessRaises(AssertionError, ga1, u"future:stuff")
 
     def test_listdir_unicode_good(self):
         filenames = [u'L\u00F4zane', u'Bern', u'Gen\u00E8ve']  # must be NFC