Skip to content

Commit

Permalink
Replaced a test that mistakenly asserted that suggestedAnswer had a s…
Browse files Browse the repository at this point in the history
…uperproperty.
  • Loading branch information
danbri committed Jun 6, 2014
1 parent 367cd72 commit cff32b9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,10 @@ def test_suggestedAnswerSuperproperties(self):
p_acceptedAnswer = Unit.GetUnit("acceptedAnswer")
self.assertTrue(p_suggestedAnswer == p_acceptedAnswer.superproperties()[0], "acceptedAnswer superproperties(), suggestedAnswer in 0th element of array.")

def test_suggestedAnswerSuperpropertiesArrayLen(self):
p_suggestedAnswer = Unit.GetUnit("suggestedAnswer")
def test_acceptedAnswerSuperpropertiesArrayLen(self):
p_acceptedAnswer = Unit.GetUnit("acceptedAnswer")
#self.assertEqual(True,False,"Oops.")
sa_supers = p_suggestedAnswer.superproperties()
self.assertEqual( len(sa_supers), 1, "suggestedAnswer subproperties() gives array of len 1." )
aa_supers = p_acceptedAnswer.superproperties()
self.assertEqual( len(aa_supers), 1, "acceptedAnswer subproperties() gives array of len 1." )

def test_answerSubproperty(self):
p_suggestedAnswer = Unit.GetUnit("suggestedAnswer")
Expand Down

0 comments on commit cff32b9

Please sign in to comment.