Skip to content

Commit

Permalink
Update unit tests for recent PAML change
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Jul 14, 2011
1 parent e2bb900 commit 145fe2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Tests/test_Baseml.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def testOutputFileValid(self):

def testOptionExists(self):
self.assertRaises((AttributeError, KeyError),
self.bml.set_option, "xxxx", 1)
self.bml.set_options, xxxx=1)
self.assertRaises((AttributeError, KeyError),
self.bml.get_option, "xxxx")
self.bml.get_option, "xxxx")

def testAlignmentSpecified(self):
self.bml.tree = self.tree_file
Expand Down
4 changes: 2 additions & 2 deletions Tests/test_Codeml.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def testOutputFileValid(self):

def testOptionExists(self):
self.assertRaises((AttributeError, KeyError),
self.cml.set_option, "xxxx", 1)
self.cml.set_options, xxxx=1)
self.assertRaises((AttributeError, KeyError),
self.cml.get_option, "xxxx")
self.cml.get_option, "xxxx")

def testAlignmentSpecified(self):
self.cml.tree = self.tree_file
Expand Down
2 changes: 1 addition & 1 deletion Tests/test_Yn00.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def testOutputFileValid(self):

def testOptionExists(self):
self.assertRaises((AttributeError, KeyError),
self.yn00.set_option, "xxxx", 1)
self.yn00.set_options, xxxx=1)
self.assertRaises((AttributeError, KeyError),
self.yn00.get_option, "xxxx")

Expand Down

0 comments on commit 145fe2a

Please sign in to comment.