We have changed a lot of the way that we work with the code, but we havn't updated our unit tests to match that. When running our unit tests the following tests fails:
======================================================================
ERROR: test_add_requirement (test.test_recipe.TestRecipeClass)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jesperbrink/Desktop/work/bioconda_recipe_gen/test/test_recipe.py", line 64, in test_add_requirement
recipe = Recipe("test/files_for_testing/kallisto_recipe_with_hdf5.txt")
TypeError: __init__() missing 1 required positional argument: 'version'
======================================================================
ERROR: test_initialization_method (test.test_recipe.TestRecipeClass)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jesperbrink/Desktop/work/bioconda_recipe_gen/test/test_recipe.py", line 35, in test_initialization_method
recipe = Recipe("test/files_for_testing/full_kallisto_recipe.yaml")
TypeError: __init__() missing 1 required positional argument: 'version'
======================================================================
ERROR: test_write_recipe_to_meta_file (test.test_recipe.TestRecipeClass)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jesperbrink/Desktop/work/bioconda_recipe_gen/test/test_recipe.py", line 46, in test_write_recipe_to_meta_file
recipe = Recipe(temp_file_path)
TypeError: __init__() missing 1 required positional argument: 'version'
======================================================================
ERROR: test_exit_codes_is_success_for_kallisto (test.test_build.TestMiniIterativeBuild)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jesperbrink/Desktop/work/bioconda_recipe_gen/test/test_build.py", line 40, in test_exit_codes_is_success_for_kallisto
proc = build.mini_iterative_build()
TypeError: mini_iterative_build() missing 1 required positional argument: 'recipe'
----------------------------------------------------------------------
It could be nice to have these tests updated, such that the unit tests doesn't crash because of incorrect use of functions.
We have changed a lot of the way that we work with the code, but we havn't updated our unit tests to match that. When running our unit tests the following tests fails:
It could be nice to have these tests updated, such that the unit tests doesn't crash because of incorrect use of functions.