Olemis Lang avatar Olemis Lang committed ca08d76

BH Multiproduct #115: Oops ! Minor typo in assertRaises now fixed

Comments (0)

Files changed (1)

t115/t115_r1433322_unittest2_assertRaises_msg.diff

 
 diff -r 3386dd0e88c3 bloodhound_multiproduct/multiproduct/env.py
 --- a/bloodhound_multiproduct/multiproduct/env.py	Tue Jan 15 09:32:53 2013 +0000
-+++ b/bloodhound_multiproduct/multiproduct/env.py	Tue Jan 15 10:01:21 2013 -0500
++++ b/bloodhound_multiproduct/multiproduct/env.py	Tue Jan 15 17:10:55 2013 -0500
 @@ -208,10 +208,11 @@
                          multiproduct.model.Product
          """
  
 diff -r 3386dd0e88c3 bloodhound_multiproduct/tests/env.py
 --- a/bloodhound_multiproduct/tests/env.py	Tue Jan 15 09:32:53 2013 +0000
-+++ b/bloodhound_multiproduct/tests/env.py	Tue Jan 15 10:01:21 2013 -0500
++++ b/bloodhound_multiproduct/tests/env.py	Tue Jan 15 17:10:55 2013 -0500
 @@ -18,19 +18,20 @@
  
  """Tests for Apache(TM) Bloodhound's product environments"""
 +            return self._AssertRaisesLoggingContext(excClass, self)
 +        else:
 +            return unittest.TestCase.assertRaises(
-+                    self, excClass, callableObj=None, *args, **kwargs)
++                    self, excClass, callableObj, *args, **kwargs)
 +
      # Product data
  
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.