# Path: core/tests/factories.py
# class UserFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class VariableFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class HostGroupFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class HostFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class AnsibleUserFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class TaskTemplateFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class TaskFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class TaskLogFactory(factory.django.DjangoModelFactory):
#     class Meta:
#     def vars(self, create, extracted, **kwargs):
#     def users(self, create, extracted, **kwargs):
#     def groups(self, create, extracted, **kwargs):
#     def vars(self, create, extracted, **kwargs):
#     def hosts(self, create, extracted, **kwargs):
#     def host_groups(self, create, extracted, **kwargs):
#     def vars(self, create, extracted, **kwargs):
#     def hosts(self, create, extracted, **kwargs):
#     def host_groups(self, create, extracted, **kwargs):
#     def vars(self, create, extracted, **kwargs):
# def create_data_for_search_template():
# def create_data_for_search_task():
# def create_data_for_search_host():


from django.test import TestCase
from django.urls import reverse
from core.tests import factories



class TaskLogsApiView(TestCase):

    def setUp(self):
        factories.AnsibleUserFactory.create()

# Path: core/tests/factories.py
# class UserFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class VariableFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class HostGroupFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class HostFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class AnsibleUserFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class TaskTemplateFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class TaskFactory(factory.django.DjangoModelFactory):
#     class Meta:
# class TaskLogFactory(factory.django.DjangoModelFactory):
#     class Meta:
#     def vars(self, create, extracted, **kwargs):
#     def users(self, create, extracted, **kwargs):
#     def groups(self, create, extracted, **kwargs):
#     def vars(self, create, extracted, **kwargs):
#     def hosts(self, create, extracted, **kwargs):
#     def host_groups(self, create, extracted, **kwargs):
#     def vars(self, create, extracted, **kwargs):
#     def hosts(self, create, extracted, **kwargs):
#     def host_groups(self, create, extracted, **kwargs):
#     def vars(self, create, extracted, **kwargs):
# def create_data_for_search_template():
# def create_data_for_search_task():
# def create_data_for_search_host():


# Path: core/tests/views/test_task_log.py
from django.test import TestCase
from django.urls import reverse
from core.tests import factories




class TaskLogsApiView(TestCase):

    def setUp(self):
        factories.AnsibleUserFactory.create()

        group_with_test = factories.HostGroupFactory.create()