Completed
Push — init-test ( 3e12e7 )
by Michael
07:46 queued 07:14
created

setup()   B

Complexity

Conditions 5

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
cc 5
c 3
b 0
f 0
dl 0
loc 13
rs 8.5454
1
from changes.config import Config
2
3
4
module_name = 'test_app'
5
context = Config(module_name, True, True, True, '%s/requirements.txt' % module_name, '0.0.2', '0.0.1', 'https://github.com/someuser/test_app', None)
6
context.gh_token = 'foo'
7
context.requirements = '%s/requirements.txt' % module_name
8
context.tmp_file = '%s/__init__.py' % module_name
9
context.initial_init_content = [
10
    '"""A test app"""',
11
    '',
12
    "__version__ = '0.0.1'",
13
    "__url__ = 'https://github.com/someuser/test_app'",
14
    "__author__ = 'Some User'",
15
    "__email__ = '[email protected]'"
16
]
17