Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed Travis-CI failures.

  • Loading branch information...
commit 257a2ac7932fed6943f4e7bfcd25fcdd26a75090 1 parent c905312
Anand Chitipothu authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  .travis.yml
  2. +2 −2 test/application.py
2  .travis.yml
View
@@ -9,7 +9,7 @@ install: pip install -r test/requirements.txt --use-mirrors; if [ $TRAVIS_PYTHON
script: python test/alltests.py
before_install:
- "sudo mkdir -p /usr/include/postgresql/8.4/server"
- - 'sudo apt-get -o Dpkg::Options::="--force-overwrite" install python-profiler'
+# - 'sudo apt-get -o Dpkg::Options::="--force-overwrite" install python-profiler'
before_script:
- "psql -c 'create database webpy;' -U postgres"
- mysql --user=root -e "create user 'scott'@'localhost' identified by 'tiger'; create database webpy; grant all privileges on webpy.* to 'scott'@'localhost' with grant option;"
4 test/application.py
View
@@ -337,11 +337,11 @@ def GET(self):
thread.start()
time.sleep(1)
- self.assertTrue(thread.is_alive())
+ self.assertTrue(thread.isAlive())
app.stop()
thread.join(timeout=1)
- self.assertFalse(thread.is_alive())
+ self.assertFalse(thread.isAlive())
if __name__ == '__main__':
webtest.main()
Please sign in to comment.
Something went wrong with that request. Please try again.