Ticket #939: 939test.darcspatch.txt

File 939test.darcspatch.txt, 2.1 KB (added by kevan, at 2010-02-07T22:01:41Z)
Line 
1Sun Feb  7 13:32:08 PST 2010  Kevan Carstensen <kevan@isnotajoke.com>
2  * Add a test that fails wihen invoking 'tahoe ls' with no aliases.
3
4New patches:
5
6[Add a test that fails wihen invoking 'tahoe ls' with no aliases.
7Kevan Carstensen <kevan@isnotajoke.com>**20100207213208
8 Ignore-this: ef7726fad5d35744adb3ac10ec6a7b82
9] hunk ./src/allmydata/test/test_cli.py 858
10         d.addCallback(_check5)
11         return d
12 
13+    def test_list_without_alias(self):
14+        # doing just 'tahoe ls' without specifying an alias or first
15+        # doing 'tahoe create-alias tahoe' should fail gracefully.
16+        self.basedir = "cli/List/list_without_alias"
17+        self.set_up_grid()
18+        d = self.do_cli("ls")
19+        def _check((rc, out, err)):
20+            self.failUnlessEqual(rc, 1)
21+            self.failUnlessIn("error:", err)
22+        d.addCallback(_check)
23+        return d
24+
25 class Mv(GridTestMixin, CLITestMixin, unittest.TestCase):
26     def test_mv_behavior(self):
27         self.basedir = "cli/Mv/mv_behavior"
28
29Context:
30
31[adding pycrypto to the auto dependencies
32secorp@allmydata.com**20100206054314
33 Ignore-this: b873fc00a6a5b001d30d479e6053cf2f
34]
35[docs running.html - "tahoe run ." does not work with the current installation, replaced with "tahoe start ."
36secorp@allmydata.com**20100206165320
37 Ignore-this: fdb2dcb0e417d303cd43b1951a4f8c03
38]
39[code coverage: replace figleaf with coverage.py, should work on py2.6 now.
40Brian Warner <warner@lothar.com>**20100203165421
41 Ignore-this: 46ab590360be6a385cb4fc4e68b6b42c
42 
43 It still lacks the right HTML report (the builtin report is very pretty, but
44 lacks the "lines uncovered" numbers that I want), and the half-finished
45 delta-from-last-run measurements.
46]
47[More comprehensive changes and ticket references for NEWS
48david-sarah@jacaranda.org**20100202061256
49 Ignore-this: 696cf0106e8a7fd388afc5b55fba8a1b
50]
51[docs: install.html: link into Python 2.5.5 download page
52zooko@zooko.com**20100202065852
53 Ignore-this: 1a9471b8175b7de5741d8445a7ede29d
54]
55[TAG allmydata-tahoe-1.6.0
56zooko@zooko.com**20100202061125
57 Ignore-this: dee6ade7ac1452cf5d1d9c69a8146d84
58]
59Patch bundle hash:
601a1d5cca79e6dba113f7f2f0ab1aa7807126517e