Skip to content

Commit

Permalink
Fix failing unit tests #659
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Druez <[email protected]>
  • Loading branch information
tdruez committed May 2, 2023
1 parent 05da4b8 commit 958fcec
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scanpipe/tests/test_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ def test_scanpipe_deploy_to_develop_pipeline_integration_test(self):
pipeline_name = "deploy_to_develop"
project1 = Project.objects.create(name="Analysis")

jar_location = self.data_location / "codebase" / "jars"
jar_location = self.data_location / "jars"
project1.copy_input_from(jar_location / "from-flume-ng-node-1.9.0.zip")
project1.copy_input_from(jar_location / "to-flume-ng-node-1.9.0.zip")

Expand All @@ -832,5 +832,5 @@ def test_scanpipe_deploy_to_develop_pipeline_integration_test(self):
self.assertEqual(0, project1.discovereddependencies.count())

result_file = output.to_json(project1)
expected_file = self.data_location / "codebase/jars/flume-ng-node-d2d.json"
expected_file = jar_location / "flume-ng-node-d2d.json"
self.assertPipelineResultEqual(expected_file, result_file)

0 comments on commit 958fcec

Please sign in to comment.