Beispiel #1
0
def test_compare_pickle_file_basic(picklefile1):
    from ogindia.utils import pickle_file_compare
    assert pickle_file_compare(picklefile1.name, picklefile1.name)
Beispiel #2
0
def test_compare_pickle_file_bad2(picklefile3, picklefile4):
    from ogindia.utils import pickle_file_compare
    assert not pickle_file_compare(picklefile3.name, picklefile4.name)
Beispiel #3
0
def test_compare_pickle_file_relative(picklefile3, picklefile4):
    from ogindia.utils import pickle_file_compare
    assert pickle_file_compare(
        picklefile3.name, picklefile4.name, relative=True)
Beispiel #4
0
def test_compare_pickle_file_bad(picklefile1, picklefile2):
    from ogindia.utils import pickle_file_compare
    assert not pickle_file_compare(picklefile1.name, picklefile2.name)