Fakultas Ilmu Komputer UI

Commit dde148f3 authored by Kevin Raikhan Zain's avatar Kevin Raikhan Zain
Browse files

[#44] Material: List of Rated Materials (User View)

parent 6e80f718
......@@ -2648,13 +2648,13 @@ class SeeRatedMateriByUser(TestCase):
self.materi1 = Materi.objects.all()[0]
self.materi2 = Materi.objects.all()[1]
self.materi3 = Materi.objects.all()[2]
time.sleep(0.5)
time.sleep(5)
self.rating_test_1 = Rating(materi=self.materi1, user=self.kontributor, score=5)
time.sleep(0.5)
time.sleep(5)
self.rating_test_2 = Rating(materi=self.materi2, user=self.kontributor, score=4)
time.sleep(0.5)
time.sleep(5)
self.rating_test_3 = Rating(materi=self.materi3, user=self.kontributor, score=3)
time.sleep(0.5)
time.sleep(5)
self.rating_test_4 = Rating(materi=self.materi3, user=self.admin, score=3)
self.rating_test_1.save()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment