Skip to content

Commit

Permalink
delete redundant unite test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 11, 2023
1 parent ed7a4ce commit ebbfc54
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions nmdc_automation/jgi_file_staging/tests/test_jgi_file_staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,32 +71,7 @@ def tearDown(self) -> None:



@patch("jgi_file_staging.requests.get")
def test_get_analysis_projects_from_proposal_id(self, mock_get):
mock_get.return_value.json.return_value = pd.read_csv(
os.path.join(self.fixtures, "grow_gold_analysis_projects.csv")
).to_dict("records")
gold_analysis_data = get_analysis_projects_from_proposal_id(
"11111", "ed42ef155670"
)
self.assertEqual(
gold_analysis_data[0],
{
"apGoldId": "Ga0499978",
"studyId": "Gs0149396",
"itsApId": 1323348,
"projects": "['Gp0587070']",
},
)
self.assertEqual(
gold_analysis_data[5],
{
"apGoldId": "Ga0451723",
"studyId": "Gs0149396",
"itsApId": 1279803,
"projects": "['Gp0503551']",
},
)


@mongomock.patch(servers=(("localhost", 27017),))
def test_insert_samples_into_mongodb(self):
Expand Down

0 comments on commit ebbfc54

Please sign in to comment.