-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed a couple of tests that were failing
- Loading branch information
1 parent
ff5981b
commit b6484a8
Showing
4 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ drivers/killPython.bat | |
package/version.txt | ||
/package/dist/ | ||
/package/dist.bat | ||
/local/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
import httplib2 | ||
|
||
|
||
class URLHelper(object): | ||
def check_url(self, url): | ||
try: | ||
h = httplib2.Http() | ||
resp = h.request(url, 'HEAD') | ||
if int(resp[0]['status']) > 399: | ||
return False | ||
except Exception: | ||
except Exception as e: | ||
print e | ||
return False | ||
return True | ||
|
5 changes: 1 addition & 4 deletions
5
package/tests/test_cp/test_azure/test_domain/test_services/test_storage_service.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters