Created
November 28, 2012 19:04
-
-
Save lucassmagal/4163308 to your computer and use it in GitHub Desktop.
probleminha básico nos testes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dado um usuário logado | |
user = UserProfileFactory() | |
# Quando eu acesso a página inicial | |
response = self.app.get(reverse('home'), user=user) | |
# Então eu vejo a lista dos ambientes ativos | |
self.assertContains(response, 'Meus Ambientes') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment