Permalink
Browse files

Update tests to work correctly with new base tiddlywiki tiddlers.

  • Loading branch information...
cdent committed Dec 14, 2011
1 parent be3b07a commit a04cd5aa9a31a301f2698c19f381647275d95bd6
Showing with 3 additions and 3 deletions.
  1. +2 −2 test/test_search.py
  2. +1 −1 test/test_web_use_instance.py
View
@@ -118,7 +118,7 @@ def test_search_no_args():
response, content = http.request('http://0.0.0.0:8080/search.json?q=_limit:999')
assert response['status'] == '200'
allinfo = simplejson.loads(content)
- assert len(allinfo) == 159
+ assert len(allinfo) == 157
response, content = http.request('http://fnd.0.0.0.0:8080/search.json')
assert response['status'] == '200'
@@ -128,6 +128,6 @@ def test_search_no_args():
response, content = http.request('http://fnd.0.0.0.0:8080/search.json?q=_limit:999')
assert response['status'] == '200'
fndinfo = simplejson.loads(content)
- assert len(fndinfo) == 95
+ assert len(fndinfo) == 92
assert len(allinfo) > len(fndinfo)
@@ -30,7 +30,7 @@ def test_home_page_exist():
response, content = http.request('http://0.0.0.0:8080/', method='GET')
assert response['status'] == '200'
- assert 'Welcome to TiddlySpace' in content
+ assert 'Sign up' in content
def test_space_not_exist():

0 comments on commit a04cd5a

Please sign in to comment.