Skip to content

Commit

Permalink
remove tests for deprecated endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jan 8, 2025
1 parent c6a8386 commit aa6c8ed
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions etc/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,18 +169,6 @@ def test_add_remove_program_authorization(user, dataset):
"program": dataset
}

response = requests.post(f"{ENV['CANDIG_URL']}/ingest/program/{test_data['program']}/email/{test_data['email']}", headers=headers)
# when the user has admin access, they should be allowed
print(f"{response.json()}, {response.status_code}")
assert response.status_code == 200

assert test_data["program"] in get_katsu_datasets(user)

# remove the user
response = requests.delete(f"{ENV['CANDIG_URL']}/ingest/program/{test_data['program']}/email/{test_data['email']}", headers=headers)
assert response.status_code == 200
assert test_data["email"] not in response.json()[test_data["program"]]["team_members"]

# remove the program
response = requests.delete(f"{ENV['CANDIG_URL']}/ingest/program/{test_data['program']}", headers=headers)
print(response.text)
Expand Down

0 comments on commit aa6c8ed

Please sign in to comment.