# Path: channelworm/ion_channel/models.py
# class ParamDict(models.Model):
# class KeyVal(models.Model):
# class IonChannel(models.Model):
# class Cell(models.Model):
# class Reference(models.Model):
# class CellChannel(models.Model):
# class Experiment(models.Model):
# class PatchClamp(models.Model):
# class Graph(models.Model):
# class GraphData(models.Model):
# class IonChannelModel(models.Model):
# class Protein(models.Model):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def asarray(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     PMID = models.CharField(max_length=300,blank=True, null=True)


import pytest
from django.utils import timezone
from channelworm.ion_channel.models import (
    IonChannel, Reference, Experiment, 
    PatchClamp, User, Graph, GraphData
)
                PMID='000000',
                authors='Einstein et al.',
                create_date=timezone.now(),
                doi='123abc',
                title='Hello Worm',
                url='http://example.co.uk',
                username=self.get_user(),
                year=2001,
            )

        return self.reference

    def get_experiment(self):
        """
        Fixture for getting an Experiment object.
        """
        if not hasattr(self, 'experiment'):
            self.experiment = Experiment.objects.create(
                reference=self.get_reference(),
                username=self.get_user(),
                create_date=timezone.now(),
            )

        return self.experiment

    def get_ion_channel(self):
        """
        Fixture for getting an IonChannel object.
        """
        if not hasattr(self, 'ion_channel'):

# Path: channelworm/ion_channel/models.py
# class ParamDict(models.Model):
# class KeyVal(models.Model):
# class IonChannel(models.Model):
# class Cell(models.Model):
# class Reference(models.Model):
# class CellChannel(models.Model):
# class Experiment(models.Model):
# class PatchClamp(models.Model):
# class Graph(models.Model):
# class GraphData(models.Model):
# class IonChannelModel(models.Model):
# class Protein(models.Model):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     def asarray(self):
#     def __unicode__(self):
#     def __unicode__(self):
#     PMID = models.CharField(max_length=300,blank=True, null=True)


# Path: tests/conftest.py
import pytest
from django.utils import timezone
from channelworm.ion_channel.models import (
    IonChannel, Reference, Experiment, 
    PatchClamp, User, Graph, GraphData
)

                PMID='000000',
                authors='Einstein et al.',
                create_date=timezone.now(),
                doi='123abc',
                title='Hello Worm',
                url='http://example.co.uk',
                username=self.get_user(),
                year=2001,
            )

        return self.reference

    def get_experiment(self):
        """
        Fixture for getting an Experiment object.
        """
        if not hasattr(self, 'experiment'):
            self.experiment = Experiment.objects.create(
                reference=self.get_reference(),
                username=self.get_user(),
                create_date=timezone.now(),
            )

        return self.experiment

    def get_ion_channel(self):
        """
        Fixture for getting an IonChannel object.
        """
        if not hasattr(self, 'ion_channel'):

            self.ion_channel = IonChannel.objects.create(