• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

edx / edx-organizations / 1148 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2021 08:20PM UTC
Files 29
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jan 2021 08:18PM UTC coverage: 100.0%. Remained the same
TOXENV=django30

push

travis-ci-com

web-flow
[BD-14] Allow inactive orgs to be updated through HTTP API (#165)

Since LMS/Studio organizations have been completely backfilled,
there are now hundreds of Inactive organizations in the
edxapp database. Inactive organizations are not surfaced to
users, and hence are effectively non-existent.

If an organization is created or edited in an external
data source (such as Course Discovery), that source
should be able to push the update to the Organizations
API exposed by edx-organizations. Currently, however,
the Organizations API will return 400 if one tries to
create/update an organization that exists but is
inactive. This could potentially lead to Course
Discovery <-> LMS/Studio data synchronization issues
down the road.

This commit fixes that by making three changes:
 1. Any organization may be updated via the PUT method,
    regardless of whether or not it is active.
 2. Upon being updated, the organization is marked as
    active, whether it was previously active, inactive,
    or non-existent.
 3. The 'active' field may not be set or updated via
    the HTTP API, because that would be in conflict
    with change #2.

Also, clean up HTTP API docstrings,
and test that DELETE and POST method
are unsupported.

Bump version to 6.8.0.

TNL-7913

214 of 214 branches covered (100.0%)

1001 of 1001 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 1148.3 (TOXENV=django30)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1022
  • Travis Job 1148.3
  • 24d4ec4f on github
  • Prev Job for TOXENV=django30 on master (#1134.3)
  • Next Job for TOXENV=django30 on master (#1156.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc