Skip to content

Commit ad31b87

Browse files
frozencemeterysimo5
authored andcommitted
Fix Python module import order problems
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
1 parent e0192ef commit ad31b87

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

tests/t_hostname_acceptor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/usr/bin/env python
22
# Copyright (C) 2017 - mod_auth_gssapi contributors, see COPYING for license.
33

4-
import requests
54
import sys
5+
6+
import requests
67
from requests_kerberos import HTTPKerberosAuth, OPTIONAL # noqa
78

89

tests/t_spnego.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# Copyright (C) 2015 - mod_auth_gssapi contributors, see COPYING for license.
33

44
import os
5-
import requests
65
from stat import ST_MODE
7-
from requests_kerberos import HTTPKerberosAuth, OPTIONAL # noqa
86

7+
import requests
8+
from requests_kerberos import HTTPKerberosAuth, OPTIONAL # noqa
99

1010
if __name__ == '__main__':
1111
sess = requests.Session()

tests/t_spnego_proxy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# Copyright (C) 2015 - mod_auth_gssapi contributors, see COPYING for license.
33

44
import os
5-
import requests
6-
import gssapi
75
from base64 import b64encode
86

7+
import gssapi
8+
import requests
99

1010

1111
def getAuthToken(target):

0 commit comments

Comments
 (0)