Skip to content

Commit

Permalink
GHA should fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangs18 committed Jan 3, 2024
1 parent 12223b3 commit aa72b2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/run_tests_within_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export KB_AUTH_TOKEN=`cat /kb/module/work/token`
export PYTHONPATH=$script_dir/../lib:$PATH:$PYTHONPATH

# Set TEST_PATH to run a specific test. Eg: TEST_PATH=test.core.update_taxon_assignments_test
export TEST_PATH=.
# export TEST_PATH=.
export TEST_PATH=test.core.update_taxon_assignments_test

cd $script_dir/../test
python -m nose --with-coverage --cover-package=GenomeFileUtil --cover-html --cover-html-dir=/kb/module/work/test_coverage --cover-xml --cover-xml-file=/kb/module/work/test_coverage/coverage.xml --nocapture --nologcapture $TEST_PATH
Expand Down
3 changes: 2 additions & 1 deletion test/core/update_taxon_assignments_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def test_update_taxon_assignments_valid(self):
})
# Fetch the object and check the mapping
obj = self.wsClient.get_objects2({'objects': [get_obj_params]})['data'][0]['data']
self.assertTrue(taxon_key in obj['taxon_assignments'])
# self.assertTrue(taxon_key in obj['taxon_assignments'])
self.assertTrue(taxon_key not in obj['taxon_assignments'])
self.assertEqual(obj['taxon_assignments'][taxon_key], taxon_val)
# Update the assignment we just added
self.serviceImpl.update_taxon_assignments(self.ctx, {
Expand Down

0 comments on commit aa72b2b

Please sign in to comment.