CIResults.rest_views module

class CIResults.rest_views.BugTrackerAccountViewSet(**kwargs)

Bases: rest_framework.viewsets.ModelViewSet

serializer_class

alias of CIResults.serializers.BugTrackerAccountSerializer

class CIResults.rest_views.BugTrackerViewSet(**kwargs)

Bases: rest_framework.viewsets.ReadOnlyModelViewSet

serializer_class

alias of CIResults.serializers.BugTrackerSerializer

class CIResults.rest_views.BugViewSet(**kwargs)

Bases: rest_framework.generics.RetrieveAPIView

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

alias of CIResults.serializers.BugCompleteSerializer

class CIResults.rest_views.BuildViewSet(**kwargs)

Bases: rest_framework.viewsets.ReadOnlyModelViewSet

serializer_class

alias of CIResults.serializers.BuildSerializer

class CIResults.rest_views.ComponentViewSet(**kwargs)

Bases: rest_framework.viewsets.ReadOnlyModelViewSet

serializer_class

alias of CIResults.serializers.ComponentSerializer

class CIResults.rest_views.CustomPagination

Bases: rest_framework.pagination.PageNumberPagination

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

Bases: rest_framework.viewsets.ModelViewSet

create(request)
pagination_class

alias of CustomPagination

serializer_class

alias of CIResults.serializers.IssueFilterSerializer

class CIResults.rest_views.RunConfigViewSet(**kwargs)

Bases: rest_framework.viewsets.ReadOnlyModelViewSet

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

alias of CIResults.serializers.RunConfigSerializer

class CIResults.rest_views.ShortenerViewSet(**kwargs)

Bases: rest_framework.generics.ListCreateAPIView, rest_framework.viewsets.GenericViewSet

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

alias of CIResults.serializers.ShortenerSerializer

class CIResults.rest_views.TestSet(**kwargs)

Bases: rest_framework.viewsets.ReadOnlyModelViewSet

serializer_class

alias of CIResults.serializers.TestSerializer

CIResults.rest_views.metrics_passrate_per_runconfig_view(self, request, *args, **kwargs)
CIResults.rest_views.metrics_passrate_per_test_view(self, request, *args, **kwargs)