def test_find_delimiter_deprecated_fn(): """Test that the deprecated function still actually works""" assert properties.find_delimeter(u"key=value") == ('=', 3) deprecated_call(properties.find_delimeter, u"key=value")
def test_getoutput(self): # Test deprecated method still works txtsource = 'bananas for sale' txtfile = self.txtparse(txtsource) assert txtfile.getoutput() == bytes(txtfile) deprecated_call(txtfile.getoutput)