Index: src/mapservice/tests/test_users.py
===================================================================
--- src/mapservice/tests/test_users.py	(revision a2b80527e9200b6feac74d75840bf6c8c3a26916)
+++ src/mapservice/tests/test_users.py	(revision 77cd9cff3eaa8fe625d4a9f422c8c97381112700)
@@ -21,74 +21,74 @@
 from . import BaseTestCase
 
+
 class TestUsers(BaseTestCase):
-	@classmethod
-	def setUpClass(self):
-		self.base_url = '/mapservice/v1/user'
-	
-	def test_users_get(self):
-		"""Test case for getting users (src)
+    @classmethod
+    def setUpClass(self):
+        self.base_url = '/mapservice/v1/user'
+
+    def test_users_get(self):
+        """Test case for getting users (src)
 		"""
-		headers = {}
-		response = self.client.open(
-			self.base_url,
-			method='GET',
-			headers=headers)
-		assert response.status_code == 401
-		
-		response = self.client.open(
-			self.base_url,
-			method='GET',
-			headers={'X-API-KEY': 'test_key'})
-		assert response.status_code == 200
-		data = json.loads(response.data)
-		self.check_key("username", "autotests", data)
-		self.check_key("firstName", "Autotests", data)
-		self.check_key("lastName", "", data)
-		self.check_key("email", "auto@example.org", data)
-		self.check_key("activated", True, data)
-		self.check_key("licenseAccepted", True, data)
-		
-		assert "apiKeys" in data
-		assert data["apiKeys"][0] == "test_key"
-		assert data["apiKeys"][1] == "test_key_delete"
-		
-		assert "password" not in data
-		assert "salt" not in data
-		assert "activationCode" not in data
+        headers = {}
+        response = self.client.open(
+            self.base_url, method='GET', headers=headers
+        )
+        assert response.status_code == 401
 
-	def test_users_register(self):
-		"""Test case for users_register (Src)
+        response = self.client.open(
+            self.base_url, method='GET', headers={'X-API-KEY': 'test_key'}
+        )
+        assert response.status_code == 200
+        data = json.loads(response.data)
+        self.check_key("username", "autotests", data)
+        self.check_key("firstName", "Autotests", data)
+        self.check_key("lastName", "", data)
+        self.check_key("email", "auto@example.org", data)
+        self.check_key("activated", True, data)
+        self.check_key("licenseAccepted", True, data)
+
+        assert "apiKeys" in data
+        assert data["apiKeys"][0] == "test_key"
+        assert data["apiKeys"][1] == "test_key_delete"
+
+        assert "password" not in data
+        assert "salt" not in data
+        assert "activationCode" not in data
+
+    def test_users_register(self):
+        """Test case for users_register (Src)
 			Register a new user
 		"""
-		user_creation = {
-			"username" : "jane_doe",
-			"firstName" : "Jane",
-			"lastName" : "Doe",
-			"password" : "1234",
-			"licenseAccepted" : True,
-			"email" : "jane.doe@example.org"
-		}
-		headers = {
-			'Accept': 'application/json',
-		}
-		response = self.client.open(
-			self.base_url,
-			method='POST',
-			headers=headers,
-			data=json.dumps(user_creation),
-			content_type='application/json'
-		)
-		assert response.status_code == 200
-		data = json.loads(response.data)
-		self.check_key("username", user_creation['username'], data)
-		self.check_key("firstName", user_creation['firstName'], data)
-		self.check_key("lastName", user_creation['lastName'], data)
-		self.check_key("email", user_creation['email'], data)
-		self.check_key("activated", False, data)
-		self.check_key("licenseAccepted", True, data)
-		
-		assert 'apiKeys' in data
-		assert len(data['apiKeys']) == 0
+        user_creation = {
+            "username": "jane_doe",
+            "firstName": "Jane",
+            "lastName": "Doe",
+            "password": "1234",
+            "licenseAccepted": True,
+            "email": "jane.doe@example.org"
+        }
+        headers = {
+            'Accept': 'application/json',
+        }
+        response = self.client.open(
+            self.base_url,
+            method='POST',
+            headers=headers,
+            data=json.dumps(user_creation),
+            content_type='application/json'
+        )
+        assert response.status_code == 200
+        data = json.loads(response.data)
+        self.check_key("username", user_creation['username'], data)
+        self.check_key("firstName", user_creation['firstName'], data)
+        self.check_key("lastName", user_creation['lastName'], data)
+        self.check_key("email", user_creation['email'], data)
+        self.check_key("activated", False, data)
+        self.check_key("licenseAccepted", True, data)
+
+        assert 'apiKeys' in data
+        assert len(data['apiKeys']) == 0
+
 
 if __name__ == '__main__':
-	unittest.main()
+    unittest.main()
