Ejemplo n.º 1
0
def test_compare_pickle_file_basic(picklefile1):
    from ogindia.utils import pickle_file_compare
    assert pickle_file_compare(picklefile1.name, picklefile1.name)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)