Skip to content
Snippets Groups Projects
Commit a595c509 authored by dh00601's avatar dh00601
Browse files

working on fixing the grid evolve tests

parent 733597dc
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,8 @@ from binarycpython.tests.test_grid import (
test__increment_count,
test__dict_from_line_source_file,
test_evolve_single,
test_grid_evolve
test_grid_evolve,
test_resultdict
)
from binarycpython.tests.test_plot_functions import (
test_color_by_index,
......
......@@ -34,7 +34,8 @@ import numpy as np
from binarycpython.utils.functions import (
temp_dir,
Capturing,
remove_file
remove_file,
bin_data
)
from binarycpython.utils.dicts import (
merge_dicts,
......@@ -45,7 +46,6 @@ from binarycpython.utils.grid import Population
TMP_DIR = temp_dir("tests", "test_grid")
TEST_VERBOSITY = 1
def parse_function_test_grid_evolve_2_threads_with_custom_logging(self, output):
"""
Simple parse function that directly appends all the output to a file
......@@ -72,7 +72,6 @@ def parse_function_test_grid_evolve_2_threads_with_custom_logging(self, output):
with open(output_filename, "a") as first_f:
first_f.write(output + "\n")
def parse_function_adding_results(self, output):
"""
Example parse function
......@@ -552,10 +551,6 @@ class test_evolve_single(unittest.TestCase):
self.assertIn("TEST_CUSTOM_LOGGING_2", output_2)
########
# Some tests that are not really -unit- tests
class test_resultdict(unittest.TestCase):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment