def test_key_strip(): assert properties._key_strip(u"key") == "key" assert properties._key_strip(u" key") == "key" assert properties._key_strip(u"\ key") == "\ key" assert properties._key_strip(u"key ") == "key" assert properties._key_strip(u"key\ ") == "key\ "
def test_key_strip(): assert properties._key_strip("key") == "key" assert properties._key_strip(" key") == "key" assert properties._key_strip("\\ key") == "\\ key" assert properties._key_strip("key ") == "key" assert properties._key_strip("key\\ ") == "key\\ "
def test_key_strip(): assert properties._key_strip(u"key") == "key" assert properties._key_strip(u" key") == "key" assert properties._key_strip(u"\ key") == "\ key" assert properties._key_strip(u"key ") == "key" assert properties._key_strip(u"key\ ") == "key\ "