# Path: washmap/stats/models.py
# class StatDescription(Sortable):
#     class Meta(Sortable.Meta):
# class StatValue(models.Model):
#     class Meta:
#     def __unicode__(self):
#     def __unicode__(self):


import pytest
from django.core.urlresolvers import reverse
from django_harness.translation import TranslationTestMixin
from main.models import Country
from ..models import StatGroup, StatDescription
    ttm.counter = 0
    return ttm


@pytest.fixture
def group_a(tt):
    ttg = tt.create(StatGroup, description="Stat Group A", order=1)
    return ttg


@pytest.fixture
def stat_a_i(tt, group_a):
    ttd = tt.create(StatDescription,
                    group=group_a,
                    description="I am a statistic with (units) in Group A",
                    order=1)
    return ttd


@pytest.fixture
def stat_a_ii(tt, group_a):
    ttd = tt.create(StatDescription,
                    group=group_a,
                    description="I am a diff stat in Group A",
                    order=2)
    return ttd


@pytest.fixture
def group_b(tt):

# Path: washmap/stats/models.py
# class StatDescription(Sortable):
#     class Meta(Sortable.Meta):
# class StatValue(models.Model):
#     class Meta:
#     def __unicode__(self):
#     def __unicode__(self):


# Path: washmap/stats/tests/conftest.py
import pytest
from django.core.urlresolvers import reverse
from django_harness.translation import TranslationTestMixin
from main.models import Country
from ..models import StatGroup, StatDescription

    ttm.counter = 0
    return ttm


@pytest.fixture
def group_a(tt):
    ttg = tt.create(StatGroup, description="Stat Group A", order=1)
    return ttg


@pytest.fixture
def stat_a_i(tt, group_a):
    ttd = tt.create(StatDescription,
                    group=group_a,
                    description="I am a statistic with (units) in Group A",
                    order=1)
    return ttd


@pytest.fixture
def stat_a_ii(tt, group_a):
    ttd = tt.create(StatDescription,
                    group=group_a,
                    description="I am a diff stat in Group A",
                    order=2)
    return ttd


@pytest.fixture
def group_b(tt):

    ttg = tt.create(StatGroup, description="Stat Group B", order=2)