Closed Bug 1513219 Opened 6 years ago Closed 6 years ago

[project.config] when using a reduced locale set for a sub project or path, VCSResource() dies in sync

Categories

(Webtools Graveyard :: Pontoon, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: Pike)

Details

Attachments

(1 file)

The VCSResource() constructor seems to be mocked in all tests with project config, and that hides a bug in getting the resource path for restricted locale resources. Not sure how to actually test this, but I'll mock data and a solution. We'll need this for Android sync, so taking the freedom to bump the priority. https://codecov.io/gh/mozilla/pontoon/src/a28780fc1c856fa84e433a90522fd55147e427bf/pontoon/sync/vcs/models.py#L631 is what we're hitting here.
Assignee: nobody → l10n
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: