def setUp(self): Connection.create_table(fail_silently=True) a = Connection(from_url='A', to_url='B', count = 2, project = '') b = Connection(from_url='A', to_url='C', count = 9, project = '') c = Connection(from_url='C', to_url='D', count = 1, project = '') d = Connection(from_url='Q', to_url='A', count = 5, project = '') e = Connection(from_url='N', to_url='P', count = 1, project = '') f = Connection(from_url='P', to_url='X', count = 1, project = '') a.save() b.save() c.save() d.save() e.save() f.save()