| Index: tests/conftest.py | 
| diff --git a/tests/conftest.py b/tests/conftest.py | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..9b739cc9d45568de15d6c64022944aab43f1e156 | 
| --- /dev/null | 
| +++ b/tests/conftest.py | 
| @@ -0,0 +1,31 @@ | 
| +# This Source Code Form is subject to the terms of the Mozilla Public | 
| +# License, v. 2.0. If a copy of the MPL was not distributed with this | 
| +# file, You can obtain one at http://mozilla.org/MPL/2.0/. | 
| + | 
| +import json | 
| + | 
| +import pytest | 
| + | 
| + | 
| +ALL_LANGUAGES = ['en_US', 'de', 'it'] | 
| + | 
| +MESSAGES_EN_US = json.dumps({ | 
| + 'name': {'message': 'Adblock Plus'}, | 
| + 'name_devbuild': {'message': 'devbuild-marker'}, | 
| + 'description': { | 
| + 'message': 'Adblock Plus is the most popular ad blocker ever, ' | 
| + 'and also supports websites by not blocking ' | 
| + 'unobstrusive ads by default (configurable).' | 
| + }, | 
| +}) | 
| + | 
| + | 
| +@pytest.fixture | 
| +def srcdir(tmpdir): | 
| + """Source directory for building the package.""" | 
| + for size in ['44', '50', '150']: | 
| + path = tmpdir.join('chrome', 'icons', 'abp-{}.png'.format(size)) | 
| + path.write(size, ensure=True) | 
| + | 
| + tmpdir.join('bar.json').write(json.dumps({})) | 
| + return tmpdir |