File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2016 Will Thames <[email protected] >
2
+ # Copyright (c) 2018 The Python GSSAPI Team
2
3
#
3
4
# Permission is hereby granted, free of charge, to any person obtaining a copy
4
5
# of this software and associated documentation files (the "Software"), to deal
19
20
# THE SOFTWARE.
20
21
21
22
import unittest
23
+
22
24
import urllib_gssapi
23
25
24
26
try :
30
32
31
33
32
34
class TestUrls (unittest .TestCase ):
33
-
34
35
def setUp (self ):
35
36
handler = urllib_gssapi .HTTPSPNEGOAuthHandler ()
36
37
opener = urllib_request .build_opener (handler )
37
38
urllib_request .install_opener (opener )
38
39
39
- def testGoogle (self ):
40
- url = ' https://www.google.com'
41
- urllib_request . Request ( url )
40
+ def test_non_SPNEGO (self ):
41
+ r = urllib_request . urlopen ( " https://mivehind.net/" )
42
+ r . read ( )
You can’t perform that action at this time.
0 commit comments