示例#1
0
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")
示例#2
0
 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)
示例#3
0
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")