def check_loaded_test(): """ Check that the check_if_loaded() subroutine works when passed a Notebook object. """ infile = open(os.path.join('database', 'test-notebook.pkl'), 'r') manual_loaded = load(infile) scr.check_if_loaded(manual_loaded)
def check_loaded_fails(obj): scr.check_if_loaded(obj)