| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| management | ||
| migrations | ||
| tests | ||
| __init__.py | ||
| cohorts.py | ||
| models.py | ||
| partition_scheme.py | ||
| views.py |
By using the before_after library, we can force a race condition to reliably occur in the CohortMembership.save() method. This unit test will do just that, and ensure that our race-condition-handling code functions as it should.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| management | Loading commit data... | |
| migrations | Loading commit data... | |
| tests | Loading commit data... | |
| __init__.py | Loading commit data... | |
| cohorts.py | Loading commit data... | |
| models.py | Loading commit data... | |
| partition_scheme.py | Loading commit data... | |
| views.py | Loading commit data... |