Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2020
PPL-C
DTB-Layanan Fasilitas Publik Penyandang Disabilitas
PoiPoLeGan-PPLapanganTembak-DTB Layanan Fasilitas Publik Penyandang Disabilitas-BE
Commits
b4a72a28
Commit
b4a72a28
authored
Apr 17, 2020
by
Bimo Iman Smartadi
Browse files
[REFACTOR] Removed unnecessary ; from code
parent
ea79045a
Changes
1
Hide whitespace changes
Inline
Side-by-side
informasi_fasilitas/tests.py
View file @
b4a72a28
...
...
@@ -12,7 +12,7 @@ class InformasiFasilitasTest(TestCase):
def
test_models_lokasi_not_created
(
self
):
with
self
.
assertRaises
(
IntegrityError
)
as
cm
:
obj
=
Lokasi
(
name
=
None
)
obj
.
save
()
;
obj
.
save
()
self
.
assertTrue
(
str
(
cm
.
exception
).
startswith
(
self
.
not_null_constraint_failed_message
))
def
test_models_create_new_lokasi
(
self
):
...
...
@@ -31,7 +31,7 @@ class InformasiFasilitasTest(TestCase):
def
test_models_fasilitas_not_created
(
self
):
with
self
.
assertRaises
(
IntegrityError
)
as
cm
:
obj
=
Fasilitas
(
lokasi
=
None
)
obj
.
save
()
;
obj
.
save
()
self
.
assertTrue
(
str
(
cm
.
exception
).
startswith
(
self
.
not_null_constraint_failed_message
))
def
test_models_create_new_fasilitas
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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