зеркало из https://github.com/mozilla/treeherder.git
code cleanup
This commit is contained in:
Родитель
95cd5bbefd
Коммит
3b0cd77fd7
|
@ -78,10 +78,6 @@ def test_process_objects(jm, initial_data, mock_log_parser):
|
|||
loading_count = jm.get_dhub(jm.CT_OBJECTSTORE).execute(
|
||||
proc="objectstore_test.counts.loading")[0]["loading_count"]
|
||||
|
||||
|
||||
import time
|
||||
# time.sleep(60)
|
||||
|
||||
assert complete_count == 2
|
||||
assert loading_count == 0
|
||||
assert date_set.issubset(expected_dates)
|
||||
|
|
|
@ -206,7 +206,6 @@ class ResultSetViewSet(viewsets.ViewSet):
|
|||
|
||||
try:
|
||||
rs = jm.get_result_set_by_id(pk)
|
||||
print rs
|
||||
jobs_ungrouped = list(jm.get_result_set_job_list(
|
||||
pk,
|
||||
**dict((k, v) for k, v in request.QUERY_PARAMS.iteritems()
|
||||
|
@ -256,8 +255,6 @@ class ResultSetViewSet(viewsets.ViewSet):
|
|||
except ObjectNotFoundException as e:
|
||||
return Response({"message": unicode(e)}, status=404)
|
||||
except Exception as e: # pragma nocover
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
return Response({"message": unicode(e)}, status=500)
|
||||
finally:
|
||||
jm.disconnect()
|
||||
|
|
Загрузка…
Ссылка в новой задаче