Javier Buzzi
Javier Buzzi
@francoisfreitag bump
@francoisfreitag What do you think of separating some of these files into a different PR to make it easier to review later. * [.github/workflows/test.yml](https://github.com/FactoryBoy/factory_boy/pull/925/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88L6-R63) * [tox.ini](https://github.com/FactoryBoy/factory_boy/pull/925/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449L2-L26) * [tests/djapp/settings_pg.py](https://github.com/FactoryBoy/factory_boy/pull/925/files#diff-6faf97b0e7ad3ae7cbc23be562ef211dedd293a925897f91921c901234ca4feaR1-R35) * [tests/test_django.py](https://github.com/FactoryBoy/factory_boy/pull/925/files#diff-930917b71eb0da934428d418379a43488873ea091eb29b1ea0450b242653d9e5R358-R1283)...
@francoisfreitag PR https://github.com/FactoryBoy/factory_boy/pull/931 is ready for review. Thanks!
@francoisfreitag When you can, can you start looking at this, I'm slowly cleaning up the tests. [My biggest hurtle is this right here](https://github.com/FactoryBoy/factory_boy/pull/925/files#diff-cea6f021f566527814fe900729b7d10c27fce303d0a267e5210a8b03d10b32b5R238-R255) -- I find it nasty / dirty....
@thedrow Thank you for the review
I’m having a hard time understanding your use case, can you write a test that tests this functionality? edit: from what i can gather about the package, it attaches itself...
This _should_ work. ```python class PositionFactory(factory.alchemy.SQLAlchemyModelFactory): class Meta: model = models.Position sqlalchemy_session_persistence = "commit" sqlalchemy_session = models.session position_number = factory.Sequence(lambda n: n) position_account = factory.SubFactory( PositionAccountFactory, position_number=factory.Sequence(lambda n: n) )...
Ah I see what you mean, each Factory has its own sequence and I'm incrementing them in parallel, the second they fall behind for whatever reason, this whole thing falls...
Where are we with this? I just ran into this issue and i have to modify the source to get it to work. Im on osx10.12 and now /usr/bin is...
We're looking to make a fake redis server + redisearch to be able to run all our tests and most importantly run them in parallel and not have them interfere...