CIResults.rest_views module

class CIResults.rest_views.BugTrackerAccountViewSet(**kwargs)

Bases: ModelViewSet

serializer_class

alias of BugTrackerAccountSerializer

class CIResults.rest_views.BugTrackerViewSet(**kwargs)

Bases: ReadOnlyModelViewSet

serializer_class

alias of BugTrackerSerializer

class CIResults.rest_views.BugViewSet(**kwargs)

Bases: RetrieveAPIView

retrieve(request, *args, **kwargs)
serializer_class

alias of BugCompleteSerializer

class CIResults.rest_views.BuildViewSet(**kwargs)

Bases: CreateModelMixin, ListModelMixin, RetrieveModelMixin, UpdateModelMixin, GenericViewSet

retrieve(request, pk=None)
serializer_class

alias of BuildSerializer

class CIResults.rest_views.ComponentViewSet(**kwargs)

Bases: ReadOnlyModelViewSet

serializer_class

alias of ComponentSerializer

class CIResults.rest_views.CustomPagination

Bases: PageNumberPagination

get_page_size(request)
class CIResults.rest_views.IssueFilterViewSet(**kwargs)

Bases: ModelViewSet

create(request)
get_queryset()
pagination_class

alias of CustomPagination

serializer_class

alias of IssueFilterSerializer

class CIResults.rest_views.IssueViewSet(**kwargs)

Bases: ReadOnlyModelViewSet

archive(request, pk=None)
patch(request, pk)
restore(request, pk=None)
serializer_class

alias of RestIssueSerializer

class CIResults.rest_views.MachineViewSet(**kwargs)

Bases: ViewSet, ListModelMixin, GenericViewSet

create(request, *args, **kwargs)
serializer_class

alias of RestViewMachineSerializer

suppress(request, pk)
vet(request, pk)
class CIResults.rest_views.RunConfigFilter(data=None, queryset=None, *, request=None, prefix=None)

Bases: FilterSet

class Meta

Bases: object

model

alias of RunConfig

class CIResults.rest_views.RunConfigViewSet(**kwargs)

Bases: CreateModelMixin, ListModelMixin, RetrieveModelMixin, GenericViewSet

compare(request, pk=None)
filterset_class

alias of RunConfigFilter

import_test_suite_run(request, pk=None)
known_failures(request, pk=None)
classmethod known_failures_serialized(runcfg)
retrieve(request, pk=None)
serializer_class

alias of RunConfigSerializer

class CIResults.rest_views.ShortenerViewSet(**kwargs)

Bases: ListCreateAPIView, GenericViewSet

create(request, *args, **kwargs)
serializer_class

alias of ShortenerSerializer

class CIResults.rest_views.TestFilter(data=None, queryset=None, *, request=None, prefix=None)

Bases: FilterSet

class Meta

Bases: object

model

alias of Test

class CIResults.rest_views.TestSet(**kwargs)

Bases: ReadOnlyModelViewSet

filterset_class

alias of TestFilter

serializer_class

alias of TestSerializer

suppress(request, pk)
vet(request, pk)
class CIResults.rest_views.TextStatusViewSet(**kwargs)

Bases: ReadOnlyModelViewSet

serializer_class

alias of TextStatusSerializer

suppress(request, pk)
vet(request, pk)
class CIResults.rest_views.UnknownFailureViewSet(**kwargs)

Bases: ReadOnlyModelViewSet

list(request)
pagination_class

alias of CustomPagination

retrieve(request, pk)
serializer_class

alias of UnknownFailureSerializer

CIResults.rest_views.get_obj_by_id_or_name(model, key)
CIResults.rest_views.metrics_passrate_per_runconfig_view(request, *args, **kwargs)
CIResults.rest_views.metrics_passrate_per_test_view(request, *args, **kwargs)
CIResults.rest_views.object_suppress(model, pk)
CIResults.rest_views.object_vet(model, pk)