Skip to content

Commit 2c804b1

Browse files
committed
Correct order of imports
Third party imports should be placed before its own library imports. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
1 parent e9d399f commit 2c804b1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_snapshot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414

1515
import unittest
1616

17+
from six import assertRegex
18+
1719
from profitbricks.client import Datacenter, Volume, Snapshot, ProfitBricksService
1820
from profitbricks.errors import PBNotFoundError
19-
from six import assertRegex
2021

2122
from .helpers import configuration
2223
from .helpers.resources import resource

tests/test_user_management.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
import unittest
1616
from random import randint
1717

18+
from six import assertRegex
19+
1820
from profitbricks.client import Datacenter, IPBlock, User, Group, Volume, ProfitBricksService
1921
from profitbricks.errors import PBError, PBNotFoundError
20-
from six import assertRegex
2122

2223
from .helpers import configuration
2324
from .helpers.resources import resource, find_image

0 commit comments

Comments
 (0)