diff --git a/badges/test_coverage.svg b/badges/test_coverage.svg index 9e1a50b1a208346126d0e2fb0ac82ca52d3af2c2..bc3407c38eb421a1b578d6d7c04aed07dbd6ab83 100644 --- a/badges/test_coverage.svg +++ b/badges/test_coverage.svg @@ -15,7 +15,7 @@ <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text> <text x="31.5" y="14">coverage</text> - <text x="80" y="15" fill="#010101" fill-opacity=".3">12%</text> - <text x="80" y="14">12%</text> + <text x="80" y="15" fill="#010101" fill-opacity=".3">23%</text> + <text x="80" y="14">23%</text> </g> </svg> diff --git a/binarycpython/tests/test_functions.py b/binarycpython/tests/test_functions.py index 924961a2e41a162a30a882c96d1db00286086581..4a75cc134df19710bd8d2d5686b55b0c1253b162 100644 --- a/binarycpython/tests/test_functions.py +++ b/binarycpython/tests/test_functions.py @@ -426,10 +426,7 @@ class test_get_help(unittest.TestCase): """ output = get_help("kaasblokjes") - self.assertIsNone(output) - - # def test_print(self): - # output = get_help("M_1", print_help=True) + self.assertDictEqual(output, {}) class test_get_help_all(unittest.TestCase): @@ -540,8 +537,7 @@ class test_write_binary_c_parameter_descriptions_to_rst_file(unittest.TestCase): TMP_DIR, "test_write_binary_c_parameter_descriptions_to_rst_file_test_1.txt", ) - output_1 = write_binary_c_parameter_descriptions_to_rst_file(output_name) - self.assertIsNone(output_1) + self.assertRaises(ValueError, write_binary_c_parameter_descriptions_to_rst_file, output_name) def test_checkfile(self): with Capturing() as output: