SHARE
TWEET

Untitled

a guest Jun 27th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def test_integrante_form_valid(self):
  2.     object = Habilidad.objects.get(id = 2)
  3.  
  4.     form = IntegranteForms(data={
  5.         'nombre':"Nombre",
  6.         'apellidos':"Apellido Apellido",
  7.         'rol':"Programador",
  8.         'salario':3000,
  9.         'correo':"asd@email.gmail",
  10.         'grado_dedicacion':0.6,
  11.         'habilidades': [object.pk]
  12.     })
  13.     self.assertTrue(form.is_valid())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top