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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos.libnetworkcache
Commits
921ae014
Commit
921ae014
authored
Aug 22, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stubs for more tests.
parent
62ccfce2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
slapos/libnetworkcachetests.py
slapos/libnetworkcachetests.py
+12
-0
No files found.
slapos/libnetworkcachetests.py
View file @
921ae014
...
...
@@ -33,6 +33,18 @@ class OnlineTest(unittest.TestCase):
nc
=
NetworkcacheClient
(
self
.
shacache
,
self
.
shadir
)
nc
.
upload
(
self
.
test_data
)
def
test_upload_wrong_return_code
(
self
):
"""Check reaction on HTTP return code different then 201"""
raise
NotImplementedError
def
test_upload_wrong_return_sha
(
self
):
"""Check reaction in case of wrong sha returned"""
raise
NotImplementedError
def
test_upload_shadir
(
self
):
"""Check scenario with shadir used"""
raise
NotImplementedError
def
test_upload_twice_same
(
self
):
nc
=
NetworkcacheClient
(
self
.
shacache
,
self
.
shadir
)
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