Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 302aa9e

Browse files
committed
Release 1.1.0
1 parent ac2da77 commit 302aa9e

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
setup(
1414
name='codacy-coverage',
1515

16-
version='1.0.1',
16+
version='1.1.0',
1717

1818
description='Codacy coverage reporter for Python',
1919
long_description=long_description,

tests.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22
import codacy.reporter
33
import json
44

5+
56
class ReporterTests(unittest.TestCase):
67

7-
def test_parser(self):
8-
def file_get_contents(filename):
9-
with open(filename) as f:
10-
return f.read()
8+
def test_parser(self):
9+
def file_get_contents(filename):
10+
with open(filename) as f:
11+
return f.read()
1112

12-
jsonContent = file_get_contents('tests/coverage.json')
13-
expected = json.loads(jsonContent)
13+
jsonContent = file_get_contents('tests/coverage.json')
14+
expected = json.loads(jsonContent)
1415

15-
generated = codacy.reporter.parse_report_file('tests/cobertura.xml')
16-
self.assertEqual(generated, expected)
16+
generated = codacy.reporter.parse_report_file('tests/cobertura.xml')
17+
self.assertEqual(generated, expected)
1718

1819
if __name__ == '__main__':
1920
unittest.main()

0 commit comments

Comments
 (0)