File tree 7 files changed +6
-11
lines changed
7 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 9
9
# file except in compliance with the License. You may obtain a copy of the
10
10
# License at http://opensource.org/licenses/BSD-2-Clause
11
11
12
- from six .moves import zip_longest
13
12
import slumber
13
+ from six .moves import zip_longest
14
14
15
15
from . import API
16
16
Original file line number Diff line number Diff line change 10
10
11
11
from . import API
12
12
13
-
14
13
REGIONS = {
15
14
'par1' : {
16
15
'url' : 'https://cp-par1.scaleway.com/' ,
Original file line number Diff line number Diff line change 12
12
13
13
import mock
14
14
import requests
15
- import slumber
16
15
16
+ import slumber
17
17
from scaleway .apis import API , SlumberResource
18
18
19
19
from . import FakeAPITestCase
Original file line number Diff line number Diff line change 14
14
15
15
import httpretty
16
16
import slumber
17
-
18
17
from scaleway .apis import AccountAPI
19
18
from scaleway .apis .api_account import BadToken , ExpiredToken
20
19
Original file line number Diff line number Diff line change 1
1
import unittest
2
2
3
- from scaleway .apis .api_compute import ComputeAPI , REGIONS
3
+ from scaleway .apis .api_compute import REGIONS , ComputeAPI
4
4
5
5
6
6
class TestComputeAPI (unittest .TestCase ):
Original file line number Diff line number Diff line change 11
11
import unittest
12
12
import uuid
13
13
14
- from six .moves .urllib .parse import parse_qs , urlparse
15
-
16
14
from scaleway .apis import MetadataAPI
17
-
15
+ from six . moves . urllib . parse import parse_qs , urlparse
18
16
19
17
from . import FakeAPITestCase
20
18
Original file line number Diff line number Diff line change 9
9
# file except in compliance with the License. You may obtain a copy of the
10
10
# License at http://opensource.org/licenses/BSD-2-Clause
11
11
12
- from contextlib import closing
13
12
import os
14
13
import re
15
14
import sys
15
+ from contextlib import closing
16
16
17
- from setuptools import setup , find_packages
18
-
17
+ from setuptools import find_packages , setup
19
18
20
19
MODULE_NAME = 'scaleway'
21
20
You can’t perform that action at this time.
0 commit comments