Skip to content

Commit

Permalink
Add required fields to test data for #739.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Nov 27, 2018
1 parent 6cbae3d commit fcfcb3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kive/container/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_default_app_empty(self):
client.force_login(user)
response = client.post(reverse('container_app_add',
kwargs=dict(container_id=container.id)),
{})
dict(threads=1, memory=100))
if response.status_code != 302:
self.assertEqual({}, response.context['form'].errors)

Expand All @@ -37,7 +37,9 @@ def test_add(self):

response = client.post(reverse('container_app_add',
kwargs=dict(container_id=container.id)),
dict(inputs=expected_inputs,
dict(threads=1,
memory=100,
inputs=expected_inputs,
outputs=expected_outputs))

if response.status_code != 302:
Expand Down

0 comments on commit fcfcb3d

Please sign in to comment.