def testBody(self):
        for t in ('host', 'service'):
            obj = notify.Notification(t, self.macros[t], self.config)
            long = obj.body()
            self.assert_(long)
            self.failIf(re.search('{\w+}', long))
            obj.format = "short"
            short = obj.body()
            self.assert_(short)
            self.failIf(re.search('{\w+}', short))
            self.assert_(len(long) < len(short))
dataset/ETHPy150Open marineam/nagcat/python/nagcat/unittests/test_notify.py/NotificationTest.testBody/swapped operands of `<`