def test_reports_to_fk(self, account): dependent = AccountFactory.create(reports_to=account) assert account.reports_to is None assert dependent.reports_to == account
def setUp(self): AccountFactory.create(tags=('python',)) ProjectFactory.create_batch(2, tags=('python', 'golang'))
def setUp(self): AccountFactory.create(tags=('python', )) ProjectFactory.create_batch(2, tags=('python', 'golang'))