def METHOD_NAME(self):
    abs, rel = getPathVariants("/aaa/bbb/ccc/ddd.txt", "/aaa/bbb/ccc/eee")
    # assert abs == '/aaa/bbb/ccc/ddd.txt'
    # Use normpath to make sure this test works on windows...
    expected = os.path.normpath(os.path.join("/aaa/bbb/ccc/eee", "/aaa/bbb/ccc/ddd.txt")).replace("\\", "/")
    assert abs == expected, "{} != {}".format(abs, expected)
    assert rel == "../ddd.txt"
    abs, rel = getPathVariants("../ddd.txt", "/aaa/bbb/ccc/eee")
    # assert abs == '/aaa/bbb/ccc/ddd.txt'
    # Use normpath to make sure this test works on windows...
    assert abs == os.path.normpath(os.path.join("/aaa/bbb/ccc/eee", "../ddd.txt")).replace("\\", "/")
    assert rel == "../ddd.txt"
    abs, rel = getPathVariants("ddd.txt", "/aaa/bbb/ccc")
    # assert abs == '/aaa/bbb/ccc/ddd.txt'
    # Use normpath to make sure this test works on windows...
    assert abs == os.path.normpath(os.path.join("/aaa/bbb/ccc", "ddd.txt")).replace("\\", "/")
    assert rel == "ddd.txt"
    assert getPathVariants("", "/abc") == ("/abc", ""), "{} != {}".format(getPathVariants("", "/abc"), ("/abc", ""))