Closed Bug 1793548 Opened 3 years ago Closed 3 years ago

fluent-migration-test should not fail for missing bug identifier

Categories

(Localization Infrastructure and Tools :: Fluent Migration, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: eemeli, Assigned: eemeli)

Details

Attachments

(1 file)

Using xxxxxx instead of a proper bug id results in the following error:

AttributeError: 'NoneType' object has no attribute 'group'

  File "/Users/eemeli/code/mozilla-unified/testing/mach_commands.py", line 1177, in run_migration_tests
    rv |= fmt.test_migration(command_context, obj_dir, **context)
  File "/Users/eemeli/code/mozilla-unified/python/l10n/test_fluent_migrations/fmt.py", line 168, in test_migration
    bug = re.search("[0-9]{5,}", migration_name).group()
Pushed by earo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6481e3e578d4 Report error rather than fail in fluent-migration-test for missing bug identifier. r=flod
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: