We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6932755 commit d3057baCopy full SHA for d3057ba
tests/test_api.py
@@ -37,15 +37,15 @@ class ApiTest(unittest.TestCase):
37
@mock.patch.object(api, 'request_license_data')
38
def test_api_get_license_details_from_api(self, request_license_data):
39
license_data = {
40
- 'name': 'Apache License 2.0',
+ 'short_name': 'Apache 2.0',
41
'full_text': 'Apache License Version 2.0 ...',
42
'key': 'apache-2.0',
43
}
44
errors = []
45
request_license_data.return_value = license_data, errors
46
47
expected = (
48
- 'Apache License 2.0',
+ 'Apache 2.0',
49
'apache-2.0',
50
'Apache License Version 2.0 ...',
51
[])
0 commit comments