diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-06-05 11:37:06 -0400 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-06-05 11:37:06 -0400 |
commit | c03f371b54469b2ae7f01c275045fc199c29d83f (patch) | |
tree | 3b86eb46b9bcb9a8fa41576b54b62ce302ef9607 /dashboard/src/api/urls.py | |
parent | 2fb0bca997efd1090ddf3857cc2f983cb6f75f78 (diff) |
Adds Tests
Adds more complete tests and fixes some bugs found in those tests
Change-Id: Icc0433215df511bc0b2bfa264bacf8796d6de86f
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/api/urls.py')
-rw-r--r-- | dashboard/src/api/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/src/api/urls.py b/dashboard/src/api/urls.py index d1f772a..7a48425 100644 --- a/dashboard/src/api/urls.py +++ b/dashboard/src/api/urls.py @@ -57,8 +57,8 @@ urlpatterns = [ path('labs/<slug:lab_name>/inventory', lab_inventory), path('labs/<slug:lab_name>/hosts/<slug:host_id>', lab_host), path('labs/<slug:lab_name>/hosts/<slug:host_id>/bmc', update_host_bmc), - path('labs/<slug:lab_name>/booking/<slug:booking_id>/pdf', get_pdf, name="get-pdf"), - path('labs/<slug:lab_name>/booking/<slug:booking_id>/idf', get_idf, name="get-idf"), + path('labs/<slug:lab_name>/booking/<int:booking_id>/pdf', get_pdf, name="get-pdf"), + path('labs/<slug:lab_name>/booking/<int:booking_id>/idf', get_idf, name="get-idf"), path('labs/<slug:lab_name>/jobs/<int:job_id>', specific_job), path('labs/<slug:lab_name>/jobs/<int:job_id>/<slug:task_id>', specific_task), path('labs/<slug:lab_name>/jobs/new', new_jobs), |