Allow EDE compens. form for experts without corp.
This commit is contained in:
parent
390f563ac0
commit
e98cb2a4e2
2 changed files with 6 additions and 1 deletions
|
|
@ -248,6 +248,11 @@ tél. 032 886 33 00
|
|||
)
|
||||
self.assertEqual(response['Content-Type'], 'application/pdf')
|
||||
self.assertGreater(len(response.content), 200)
|
||||
# Expert without corporation
|
||||
st.expert = CorpContact.objects.create(first_name='James', last_name='Bond')
|
||||
st.save()
|
||||
response = self.client.post(url, follow=True)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
# Mentor form
|
||||
st.mentor = CorpContact.objects.get(last_name="Horner")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue