def setUp(self):
     super(ReviewViewsTestCase, self).setUp()
     self.user = User.get_or_create(
         u"Tester", u"aef06569-098f-4218-a577-b413944d9493")
     self.hacker = User.get_or_create(
         u"Hacker!", u"9371e5c7-5995-4471-a5a9-33481f897f9c")
     self.license = License.create(
         u"CC BY-SA 3.0", u"Created so we can fill the form correctly.")
     self.review_text = "Testing! This text should be on the page."
 def setUp(self):
     super(ReviewViewsTestCase, self).setUp()
     self.user = User.get_or_create(u"Tester", u"aef06569-098f-4218-a577-b413944d9493")
     self.hacker = User.get_or_create(u"Hacker!", u"9371e5c7-5995-4471-a5a9-33481f897f9c")
     self.license = License.create(u"CC BY-SA 3.0", u"Created so we can fill the form correctly.")
     self.review = dict(
         entity_id="6b3cd75d-7453-39f3-86c4-1441f360e121",
         entity_type='release_group',
         user=self.user,
         text="Testing! This text should be on the page.",
         is_draft=False,
         license_id=self.license.id,
     )
Beispiel #3
0
 def setUp(self):
     super(ReviewViewsTestCase, self).setUp()
     self.user = User.get_or_create("Tester", "aef06569-098f-4218-a577-b413944d9493")
     self.another_user = User.get_or_create("Hacker!", "9371e5c7-5995-4471-a5a9-33481f897f9c")
     self.license = License.create("CC BY-SA 3.0", "Created so we can fill the form correctly.")
     self.review = dict(
         entity_id="6b3cd75d-7453-39f3-86c4-1441f360e121",
         entity_type='release_group',
         user_id=self.user.id,
         text="Testing! This text should be on the page.",
         is_draft=False,
         license_id=self.license.id,
     )
 def setUp(self):
     super(ReviewViewsTestCase, self).setUp()
     self.user = User.get_or_create(u"Tester", u"aef06569-098f-4218-a577-b413944d9493")
     self.hacker = User.get_or_create(u"Hacker!", u"9371e5c7-5995-4471-a5a9-33481f897f9c")
     self.license = License.create(u"CC BY-SA 3.0", u"Created so we can fill the form correctly.")
     self.review_text = "Testing! This text should be on the page."