File: 03_testing

package info (click to toggle)
bzrtools 2.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 740 kB
  • ctags: 656
  • sloc: python: 4,299; sh: 13; makefile: 10
file content (31 lines) | stat: -rw-r--r-- 908 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
=== modified file 'tests/blackbox.py'
--- old/tests/blackbox.py	2011-09-25 03:13:49 +0000
+++ new/tests/blackbox.py	2012-04-13 10:04:33 +0000
@@ -27,11 +27,6 @@
 
 class TestBzrTools(TestCaseWithTransport):
 
-    def setUp(self):
-        TestCaseWithTransport.setUp(self)
-        command._testing = True
-        self.addCleanup(command._stop_testing)
-
     @staticmethod
     def touch(filename):
         file(filename, 'wb').write('')

=== modified file 'tests/shelf_tests.py'
--- old/tests/shelf_tests.py	2012-03-20 02:40:57 +0000
+++ new/tests/shelf_tests.py	2012-04-13 10:05:18 +0000
@@ -33,10 +33,6 @@
 +hello test world
  
 """
-    def setUp(self):
-        bzrlib.tests.TestCaseWithTransport.setUp(self)
-        command._testing = True
-        self.addCleanup(command._stop_testing)
 
     def _check_diff(self, diff=DIFF_1, filename='test_file'):
         old_tree = self.tree.basis_tree()