Standardize Formatting
[osm/osmclient.git] / osmclient / v1 / tests / test_package.py
index 5211b12..2f0362c 100644 (file)
@@ -21,20 +21,21 @@ from osmclient.common.exceptions import ClientException
 
 
 class TestPackage(unittest.TestCase):
-
     def test_upload_fail(self):
         mock = Mock()
-        mock.post_cmd.return_value = 'foo'
-        self.assertRaises(ClientException,
-                          package.Package(upload_http=mock).upload, 'bar')
+        mock.post_cmd.return_value = "foo"
+        self.assertRaises(
+            ClientException, package.Package(upload_http=mock).upload, "bar"
+        )
 
         mock.post_cmd.return_value = None
-        self.assertRaises(ClientException,
-                          package.Package(upload_http=mock).upload, 'bar')
+        self.assertRaises(
+            ClientException, package.Package(upload_http=mock).upload, "bar"
+        )
 
     def test_wait_for_upload_bad_file(self):
         mock = Mock()
-        mock.post_cmd.return_value = 'foo'
-        self.assertRaises(IOError,
-                          package.Package(upload_http=mock).wait_for_upload,
-                          'invalidfile')
+        mock.post_cmd.return_value = "foo"
+        self.assertRaises(
+            IOError, package.Package(upload_http=mock).wait_for_upload, "invalidfile"
+        )