diff --git a/tests/test_dump_result/oct_result.dump b/tests/test_dump_result/oct_result.dump deleted file mode 100644 index 806bced7..00000000 Binary files a/tests/test_dump_result/oct_result.dump and /dev/null differ diff --git a/tests/test_result_serialization.py b/tests/test_result_serialization.py index fec044e3..e60d7eb6 100644 --- a/tests/test_result_serialization.py +++ b/tests/test_result_serialization.py @@ -40,7 +40,7 @@ def dumpfile_unfinalized(request, tmpdir, caplog): testdir = os.path.splitext(request.module.__file__)[0] with caplog.at_level(logging.WARNING): result = Result.load(os.path.join(testdir, 'oct_result.dump')) - assert len(result.optimized_controls) == 1 + assert len(result.optimized_controls) == 4 result.optimized_controls[0] = np.concatenate( (result.optimized_controls[0][0:-2], [0.0]) ) @@ -65,7 +65,7 @@ def dumpfile_broken(request, tmpdir, caplog): testdir = os.path.splitext(request.module.__file__)[0] with caplog.at_level(logging.WARNING): result = Result.load(os.path.join(testdir, 'oct_result.dump')) - assert len(result.optimized_controls) == 1 + assert len(result.optimized_controls) == 4 result.optimized_controls[0] = np.array([0.0, 0.0]) dumpfile = str(tmpdir.join('oct_result_broken.dump')) result.dump(dumpfile) diff --git a/tests/test_result_serialization/oct_result.dump b/tests/test_result_serialization/oct_result.dump index 1fc20a4b..0d468180 100644 Binary files a/tests/test_result_serialization/oct_result.dump and b/tests/test_result_serialization/oct_result.dump differ