# -*- coding: utf-8 -*-

import factory

from .models import (
    ClientVersion,  LocalServer,  LocalServerConnection,
    ServerVersion,  Task, Update,
)


class UpdateFactory(factory.django.DjangoModelFactory):
    class Meta:
        model = Update


class LocalServerFactory(factory.django.DjangoModelFactory):
    class Meta:
        model = LocalServer


class LocalServerConnectionFactory(factory.django.DjangoModelFactory):
    class Meta:
        model = LocalServerConnection


class ServerVersionFactory(factory.django.DjangoModelFactory):
    class Meta:
        model = ServerVersion


class ClientVersionFactory(factory.django.DjangoModelFactory):
    class Meta:
        model = ClientVersion


class TaskFactory(factory.django.DjangoModelFactory):
    class Meta:
        model = Task
