ashwath-vaithina-ibm commited on
Commit
bcdbc5c
·
verified ·
1 Parent(s): 560c298

Delete tests

Browse files
tests/test_api_url.py DELETED
@@ -1,8 +0,0 @@
1
- import requests
2
-
3
- def test_api_url():
4
- # api_url = "http://127.0.0.1:8080/recommend?prompt="
5
- # response = requests.get(api_url)
6
- # assert response.status_code == 200
7
- # assert response.headers["Content-Type"] == "application/json"
8
- assert True
 
 
 
 
 
 
 
 
 
tests/test_code_engine_url.py DELETED
@@ -1,8 +0,0 @@
1
- import requests
2
-
3
- def test_code_engine_url():
4
- api_url = "https://responsible-prompt-app.jo2bfsmp5jj.us-south.codeengine.appdomain.cloud/recommend?prompt="
5
- response = requests.get(api_url)
6
- assert response.status_code == 200
7
- assert response.headers["Content-Type"] == "application/json"
8
-
 
 
 
 
 
 
 
 
 
tests/test_hello_prompt.py DELETED
@@ -1,14 +0,0 @@
1
- import requests
2
-
3
- def test_hello_prompt():
4
- # api_url = "http://127.0.0.1:8080/recommend?prompt=%22hello%22"
5
- # response = requests.get(api_url)
6
- # assert response.status_code == 200
7
- # assert response.headers["Content-Type"] == "application/json"
8
-
9
- # data = response.json()
10
- # assert isinstance(data, dict)
11
- # assert "add" in data
12
- # assert "remove" in data
13
- # assert response.json() == {"add":[],"remove":[]}
14
- assert True