Permalink
Browse files

Merge pull request #17 from themoo/master

Python 3 Compat. in Step 03
  • Loading branch information...
2 parents e1cafc9 + 06a1492 commit 6205e4fb56a8b7d79ec11d367cb53df8e986aef8 @tseaver tseaver committed Mar 16, 2013
@@ -15,4 +15,4 @@ def setUp(self):
def test_it(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Hello' in res.body)
+ self.failUnless(b'Hello' in res.body)
@@ -32,14 +32,14 @@ def setUp(self):
def test_home(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Home' in res.body)
+ self.failUnless(b'Home' in res.body)
def test_it(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Home' in res.body)
+ self.failUnless(b'Home' in res.body)
res = self.testapp.get('/about.html', status=200)
- self.failUnless('autonomous' in res.body)
+ self.failUnless(b'autonomous' in res.body)
res = self.testapp.get('/people', status=200)
- self.failUnless('Susan' in res.body)
+ self.failUnless(b'Susan' in res.body)
res = self.testapp.get('/acme', status=200)
- self.failUnless('Silly Slogans' in res.body)
+ self.failUnless(b'Silly Slogans' in res.body)
@@ -50,10 +50,10 @@ def setUp(self):
def test_it(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Home' in res.body)
+ self.failUnless(b'Home' in res.body)
res = self.testapp.get('/about.html', status=200)
- self.failUnless('autonomous' in res.body)
+ self.failUnless(b'autonomous' in res.body)
res = self.testapp.get('/people', status=200)
- self.failUnless('Susan' in res.body)
+ self.failUnless(b'Susan' in res.body)
res = self.testapp.get('/acme', status=200)
- self.failUnless('Silly Slogans' in res.body)
+ self.failUnless(b'Silly Slogans' in res.body)
@@ -56,10 +56,10 @@ def setUp(self):
def test_it(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Home' in res.body)
+ self.failUnless(b'Home' in res.body)
res = self.testapp.get('/about.html', status=200)
- self.failUnless('autonomous' in res.body)
+ self.failUnless(b'autonomous' in res.body)
res = self.testapp.get('/people', status=200)
- self.failUnless('Susan' in res.body)
+ self.failUnless(b'Susan' in res.body)
res = self.testapp.get('/acme', status=200)
- self.failUnless('Silly Slogans' in res.body)
+ self.failUnless(b'Silly Slogans' in res.body)
@@ -53,10 +53,10 @@ def setUp(self):
def test_it(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Home' in res.body)
+ self.failUnless(b'Home' in res.body)
res = self.testapp.get('/about.html', status=200)
- self.failUnless('autonomous' in res.body)
+ self.failUnless(b'autonomous' in res.body)
res = self.testapp.get('/people', status=200)
- self.failUnless('Susan' in res.body)
+ self.failUnless(b'Susan' in res.body)
res = self.testapp.get('/acme', status=200)
- self.failUnless('Silly Slogans' in res.body)
+ self.failUnless(b'Silly Slogans' in res.body)
@@ -53,10 +53,10 @@ def setUp(self):
def test_it(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Home' in res.body)
+ self.failUnless(b'Home' in res.body)
res = self.testapp.get('/about.html', status=200)
- self.failUnless('autonomous' in res.body)
+ self.failUnless(b'autonomous' in res.body)
res = self.testapp.get('/people', status=200)
- self.failUnless('Susan' in res.body)
+ self.failUnless(b'Susan' in res.body)
res = self.testapp.get('/acme', status=200)
- self.failUnless('Silly Slogans' in res.body)
+ self.failUnless(b'Silly Slogans' in res.body)
@@ -59,12 +59,12 @@ def setUp(self):
def test_it(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Home' in res.body)
+ self.failUnless(b'Home' in res.body)
res = self.testapp.get('/about.html', status=200)
- self.failUnless('autonomous' in res.body)
+ self.failUnless(b'autonomous' in res.body)
res = self.testapp.get('/people', status=200)
- self.failUnless('Susan' in res.body)
+ self.failUnless(b'Susan' in res.body)
res = self.testapp.get('/acme', status=200)
- self.failUnless('Silly Slogans' in res.body)
+ self.failUnless(b'Silly Slogans' in res.body)
res = self.testapp.get('/updates.json', status=200)
- self.failUnless('888' in res.body)
+ self.failUnless(b'888' in res.body)
@@ -59,12 +59,12 @@ def setUp(self):
def test_it(self):
res = self.testapp.get('/', status=200)
- self.failUnless('Home' in res.body)
+ self.failUnless(b'Home' in res.body)
res = self.testapp.get('/about.html', status=200)
- self.failUnless('autonomous' in res.body)
+ self.failUnless(b'autonomous' in res.body)
res = self.testapp.get('/people', status=200)
- self.failUnless('Susan' in res.body)
+ self.failUnless(b'Susan' in res.body)
res = self.testapp.get('/acme', status=200)
- self.failUnless('Silly Slogans' in res.body)
+ self.failUnless(b'Silly Slogans' in res.body)
res = self.testapp.get('/updates.json', status=200)
- self.failUnless('888' in res.body)
+ self.failUnless(b'888' in res.body)

0 comments on commit 6205e4f

Please sign in to comment.