Hi.

I was writing a test for a bug that does not raise an exception, so I
need this hook in fixed_bugs.py.

Thanks in advance.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                                Listening to: Albert Plà - Vida d'un gat
New patches:

[Allow FixedBugs.run_tailor to get a function as argument.
Adeodato Simo <[EMAIL PROTECTED]>**20060824160543
 
 The function is intended to make various assertions against the just
 created project, and it receives (project, vcs) as arguments.
] {
hunk ./vcpx/tests/fixed_bugs.py 60
-    def run_tailor(self):
+    def run_tailor(self, assert_function=None):
hunk ./vcpx/tests/fixed_bugs.py 71
+            if assert_function is not None:
+                assert_function(project, vcs)
+
}

Context:

[M-x whitespace-cleanup
[EMAIL PROTECTED] 
[Fix #71: annihilate "add A; remove A" in a single darcs patch
[EMAIL PROTECTED]
 This requires a fix in darcs 1.0.8 for its issue185. I proposed one
 (attached to the ticket #71), time will tell...
] 
[Fix a typo
[EMAIL PROTECTED] 
[Use recursive drop for monotone
[EMAIL PROTECTED]
 Tailor seems to expect that dropping a non-empty directory will
 succeed; by all indications it expects this drop to be recursive.
 Therefore, use "mtn drop --recursive" instead of "mtn drop".
] 
[TAG Version 0.9.26
[EMAIL PROTECTED] 
Patch bundle hash:
98698bcab43da14ea3886415144afec33f7131d2
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to