Revision bbea0414 snf-cyclades-app/synnefo/db/models_factory.py

b/snf-cyclades-app/synnefo/db/models_factory.py
274 274
class QuotaHolderSerialFactory(factory.DjangoModelFactory):
275 275
    FACTORY_FOR = models.QuotaHolderSerial
276 276
    serial = factory.Sequence(lambda x: x, type=int)
277

  
278

  
279
class IPAddressLogFactory(factory.DjangoModelFactory):
280
    FACTORY_FOR = models.IPAddressLog
281
    address = "192.168.2.1"
282
    server_id = 1
283
    network_id = 1
284
    active = True

Also available in: Unified diff