From 6c993d9e3bd9a7c0fb94d7056e664648dd8d85cb Mon Sep 17 00:00:00 2001 From: maxbr Date: Mon, 22 Aug 2016 18:59:47 +0200 Subject: Create Jira issue for new booking JIRA: RELENG-12 The issue is assigned to the lab owner and to the POD Access Request Component. The pgp and ssh keys are uploaded to jira as an attachement. Signed-off-by: maxbr --- tools/pharos-dashboard/booking/tests/test_views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/pharos-dashboard/booking/tests/test_views.py') diff --git a/tools/pharos-dashboard/booking/tests/test_views.py b/tools/pharos-dashboard/booking/tests/test_views.py index b0c4b498..c5dff586 100644 --- a/tools/pharos-dashboard/booking/tests/test_views.py +++ b/tools/pharos-dashboard/booking/tests/test_views.py @@ -19,7 +19,9 @@ class BookingViewTestCase(TestCase): def setUp(self): self.client = Client() self.slave = JenkinsSlave.objects.create(name='test', url='test') - self.res1 = Resource.objects.create(name='res1', slave=self.slave, description='x', url='x') + self.owner = User.objects.create(username='owner') + self.res1 = Resource.objects.create(name='res1', slave=self.slave, description='x', + url='x',owner=self.owner) self.user1 = User.objects.create(username='user1') self.user1.set_password('user1') self.user1profile = UserProfile.objects.create(user=self.user1) -- cgit 1.2.3-korg