Exemplo n.º 1
0
 def __init__(self, *a, **k):
     FakeRequest.__init__(self, *a, **k)
     self.args = {'username': [''],
                  'email': ['*****@*****.**']}
Exemplo n.º 2
0
 def __init__(self, *a, **k):
     FakeRequest.__init__(self, *a, **k)
     self.args = {'username': [''],
                  'email': [bogusEmail]}
Exemplo n.º 3
0
 def __init__(self, *a, **kw):
     FakeRequest.__init__(self, *a, **kw)
     self.args = {'username': ['joe'],
                  'email': ['']}
     self.received_headers['host'] = hostname