| OLD | NEW | 
| (Empty) |  | 
 |   1 # This Source Code Form is subject to the terms of the Mozilla Public | 
 |   2 # License, v. 2.0. If a copy of the MPL was not distributed with this | 
 |   3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. | 
 |   4  | 
 |   5 import json | 
 |   6  | 
 |   7 import pytest | 
 |   8  | 
 |   9  | 
 |  10 ALL_LANGUAGES = ['en_US', 'de', 'it'] | 
 |  11  | 
 |  12 MESSAGES_EN_US = json.dumps({ | 
 |  13     'name': {'message': 'Adblock Plus'}, | 
 |  14     'name_devbuild': {'message': 'devbuild-marker'}, | 
 |  15     'description': { | 
 |  16         'message': 'Adblock Plus is the most popular ad blocker ever, ' | 
 |  17                    'and also supports websites by not blocking ' | 
 |  18                    'unobstrusive ads by default (configurable).' | 
 |  19     }, | 
 |  20 }) | 
 |  21  | 
 |  22  | 
 |  23 @pytest.fixture | 
 |  24 def srcdir(tmpdir): | 
 |  25     """Source directory for building the package.""" | 
 |  26     for size in ['44', '50', '150']: | 
 |  27         path = tmpdir.join('chrome', 'icons', 'abp-{}.png'.format(size)) | 
 |  28         path.write(size, ensure=True) | 
 |  29  | 
 |  30     tmpdir.join('bar.json').write(json.dumps({})) | 
 |  31     return tmpdir | 
| OLD | NEW |