def test_templates_addGreeting_23Client(self):
     text = templates.addGreeting(self.t, 23)
     self.assertSubstring('Hey', text)
 def test_templates_addGreeting_noClient(self):
     text = templates.addGreeting(self.t, None)
     self.assertSubstring('Hello, friend!', text)
 def test_templates_addGreeting_withWelcome(self):
     text = templates.addGreeting(self.t, self.client.local, welcome=True)
     self.shouldIncludeGreeting(text)
     self.assertSubstring('Welcome to BridgeDB!', text)
 def test_templates_addGreeting(self):
     text = templates.addGreeting(self.t, self.client.local)
     self.shouldIncludeGreeting(text)
Esempio n. 5
0
 def test_templates_addGreeting_23Client(self):
     text = templates.addGreeting(self.t, 23)
     self.assertSubstring('Hey', text)
Esempio n. 6
0
 def test_templates_addGreeting_withWelcome(self):
     text = templates.addGreeting(self.t, self.client.local, welcome=True)
     self.shouldIncludeGreeting(text)
     self.assertSubstring('Welcome to BridgeDB!', text)
Esempio n. 7
0
 def test_templates_addGreeting_noClient(self):
     text = templates.addGreeting(self.t, None)
     self.assertSubstring('Hello, friend!', text)
Esempio n. 8
0
 def test_templates_addGreeting(self):
     text = templates.addGreeting(self.t, self.client.local)
     self.shouldIncludeGreeting(text)