GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( e3a209...bb2a36 )
by Juan Jose
01:39
created

Route4MeTerritoryTests.test_get_vehicles()   A

Complexity

Conditions 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
dl 0
loc 4
rs 10
c 1
b 0
f 0
1
import unittest
2
import json
3
from route4me.utils import json2obj
4
5
from tests.base import Route4MeAPITestSuite
6
7
8
class Route4MeTerritoryTests(Route4MeAPITestSuite):
9
    """
10
    Route4Me Territory Tests
11
    """
12
13
    def test_get_vehicles(self):
14
        json_data = json.dumps({'variable1': 'test_value'})
15
        json_obj = json2obj(json_data)
16
        self.assertTrue(hasattr(json_obj, 'variable1'))
17
18
19
if __name__ == '__main__':
20
    unittest.main()