Closed Bug 1521820 Opened 9 months ago Closed 7 months ago

[sync] Add tests for FTL file format

Categories

(Webtools :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: codewithaniruddha, Mentored)

Details

We lost FTL tests at some point, possibly during L20n to FTL migration. We should add them.

Assignee: nobody → codewithaniruddha

This bug is about adding test coverage for the FTL format support in our sync application.

A simple way to look at it is to open this folder: https://github.com/mozilla/pontoon/tree/master/pontoon/sync/tests/formats

We basically want to add a test_ftl.py file there, and write a series of tests to make sure we support the FTL format correctly. The code to test is in this file: https://github.com/mozilla/pontoon/blob/master/pontoon/sync/formats/ftl.py

I suggest taking a look at both the code and what other format tests are doing, and use that as inspiration. Tests should be testing regular code paths, and also edge cases if there are any.

Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.