~comnets/openwns-pywns/pywns--main--1.0

« back to all changes in this revision

Viewing changes to pywns/WNSUnit.py

  • Committer: Karsten Klagges
  • Date: 2012-07-11 08:55:56 UTC
  • Revision ID: kks@comnets.rwth-aachen.de-20120711085556-68rv01y01hcq9bo0
expectation test runs for each item in list of expectations

Show diffs side-by-side

added added

removed removed

Lines of Context:
854
854
                if attribute in ee:
855
855
                    errorMessage += "  probe." + attribute + ": " + str(self.probe.__dict__[attribute]) + "\n"
856
856
 
857
 
        # finally the assert
858
 
        self.assertTrue(eval(ee, {}, {"probe":self.probe}), errorMessage)
 
857
            # finally the assert
 
858
            self.assertTrue(eval(ee, {}, {"probe":self.probe}), errorMessage)
859
859
 
860
860
 
861
861
class ProbesAreAlmostEqual(SystemTestCase):