Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Class Project
DIGIPUS
Commits
878a734c
Commit
878a734c
authored
Oct 30, 2020
by
Muhamad Lutfi Arif
Browse files
[
#109
] Bug fix and remove unused variable
parent
a921ab69
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/templates/req_materi.html
View file @
878a734c
...
...
@@ -73,7 +73,7 @@
</div>
</header>
{% if requested_material %}
<table
class=
"table"
>
<table
class=
"table"
aria-describedby=
"Requested Material"
>
<thead>
<tr>
<th
scope=
"col"
>
No
</th>
...
...
app/tests.py
View file @
878a734c
...
...
@@ -2304,8 +2304,8 @@ class RequestMateriTest(TestCase):
def
test_displays_all_requested_material
(
self
):
self
.
client
.
login
(
**
self
.
contributor_credential
)
first_material_request
=
ReqMaterial
(
title
=
"Material 1"
).
save
()
second_material_request
=
ReqMaterial
(
title
=
"Material 2"
).
save
()
ReqMaterial
(
title
=
"Material 1"
).
save
()
ReqMaterial
(
title
=
"Material 2"
).
save
()
response
=
self
.
client
.
get
(
self
.
url
)
self
.
assertContains
(
response
,
'Material 1'
)
self
.
assertContains
(
response
,
'Material 2'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment