def test_defaults(self): game = GameFactory() game.save() Country.initialize_defaults(game) expect(len(Country.select())).to(equal(8))