def test_read_file_populates_data(): # test_check_duration(request, cache) """Checks that reading the file populates global data variable""" # pylint: disable=len-as-condition assert len(compute_tf_cookbook.data) == 0 compute_tf_cookbook.read_file("inputs/input.txt") assert len(compute_tf_cookbook.data) != 0
def test_read_file_populates_data(): """Checks that the singleline comment count works""" # pylint: disable=len-as-condition assert len(compute_tf_cookbook.data) == 0 compute_tf_cookbook.read_file("inputs/input.txt") assert len(compute_tf_cookbook.data) != 0
def test_read_file_populates_data_0(): """Checks that the size of the input variable is correct.""" # pylint: disable=len-as-condition assert len(compute_tf_cookbook.data) == 0 compute_tf_cookbook.read_file("inputs/input.txt") assert len(compute_tf_cookbook.data) != 0