Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.libnetworkcache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.libnetworkcache
Commits
08df4c6e
Commit
08df4c6e
authored
Aug 23, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove outdated way of modifying response.
parent
53709925
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
slapos/libnetworkcachetests.py
slapos/libnetworkcachetests.py
+0
-2
No files found.
slapos/libnetworkcachetests.py
View file @
08df4c6e
...
@@ -245,8 +245,6 @@ class OnlineTestWrongChecksum(OnlineMixin, unittest.TestCase):
...
@@ -245,8 +245,6 @@ class OnlineTestWrongChecksum(OnlineMixin, unittest.TestCase):
def
test_upload_wrong_return_sha
(
self
):
def
test_upload_wrong_return_sha
(
self
):
"""Check reaction in case of wrong sha returned"""
"""Check reaction in case of wrong sha returned"""
httplib
.
HTTPConnection
(
self
.
host
,
self
.
port
).
request
(
'SPECIAL'
,
'/cksum/invalid'
)
nc
=
NetworkcacheClient
(
self
.
shacache
,
self
.
shadir
)
nc
=
NetworkcacheClient
(
self
.
shacache
,
self
.
shadir
)
self
.
assertRaises
(
UploadError
,
nc
.
upload
,
self
.
test_data
)
self
.
assertRaises
(
UploadError
,
nc
.
upload
,
self
.
test_data
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment