def test_init(self): """ Test the initialisation of the common lib """ init_common_lib(os.path.join(os.path.dirname(__file__), 'tasks'), [".c"], 1024 * 1024) assert os.path.abspath(get_tasks_directory()) == os.path.abspath(os.path.join(os.path.dirname(__file__), 'tasks')) assert get_allowed_file_extensions() == [".c"] assert get_max_file_size() == 1024 * 1024