Skip to content

Commit

Permalink
Update test-integration.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mwang87 authored Jul 21, 2023
1 parent bbc7ac6 commit 8d8de0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-production-integration/test-integration.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import pandas as pd
import requests
SERVER_URL = os.environ.get("SERVER_URL", "https://gnps-structure.ucsd.edu")
SERVER_URL = os.environ.get("SERVER_URL", "https://structure.gnps2.org")

def test_cases():
test_cases_df = pd.read_csv("test_cases.csv", sep="\t")
Expand Down Expand Up @@ -73,4 +73,4 @@ def test_adduct():
r = requests.get(url, params={"smiles" : smiles, "mz": mz}, timeout=10)
r.raise_for_status()

assert(len(r.json()) > 5)
assert(len(r.json()) > 5)

0 comments on commit 8d8de0e

Please sign in to comment.