Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tests general

  • Loading branch information...
commit 28c8634b89a8f62e17d01ed108b9f14c480a3f38 1 parent b3587ac
@mtholder mtholder authored
Showing with 6 additions and 3 deletions.
  1. +3 −2 test/test_find_then_get_tree.py
  2. +3 −1 test/test_find_tree.py
View
5 test/test_find_then_get_tree.py
@@ -7,8 +7,9 @@
domain_name = 'http://phylotastic.nescent.org'
else:
domain_name = 'http://127.0.0.1:8000'
-
-resp = requests.post(domain_name + '/PhylotasticTreeStore/phylows/find/tree',
+u = domain_name + '/PhylotasticTreeStore/phylows/find/tree'
+print u
+resp = requests.post(u,
params=payload)
print resp.url
problem = resp.raise_for_status()
View
4 test/test_find_tree.py
@@ -11,7 +11,9 @@
domain_name = 'http://127.0.0.1:8000'
data = json.dumps(payload)
print data
-resp = requests.post(domain_name + 'PhylotasticTreeStore/phylows/find/tree', data=data)
+u = domain_name + '/PhylotasticTreeStore/phylows/find/tree'
+print u
+resp = requests.post(u, data=data)
print resp.url
problem = resp.raise_for_status()
if problem is None:
Please sign in to comment.
Something went wrong with that request. Please try again.