Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pyfs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pyfs
Commits
ffef69d2
Commit
ffef69d2
authored
Sep 18, 2008
by
willmcgugan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few more tests
parent
f560ebfa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/tests.py
+3
-3
No files found.
fs/tests.py
View file @
ffef69d2
...
...
@@ -479,7 +479,7 @@ class TestReadZipFS(unittest.TestCase):
def
setUp
(
self
):
self
.
temp_filename
=
""
.
join
(
random
.
choice
(
"abcdefghijklmnopqrstuvwxyz"
)
for
_
in
range
(
6
))
+
".zip"
self
.
temp_filename
=
os
.
path
.
abspath
(
self
.
temp_filename
)
self
.
temp_filename
=
os
.
path
.
join
(
tempfile
.
gettempdir
(),
self
.
temp_filename
)
self
.
zf
=
zipfile
.
ZipFile
(
self
.
temp_filename
,
"w"
)
zf
=
self
.
zf
...
...
@@ -547,7 +547,7 @@ class TestWriteZipFS(unittest.TestCase):
def
setUp
(
self
):
self
.
temp_filename
=
""
.
join
(
random
.
choice
(
"abcdefghijklmnopqrstuvwxyz"
)
for
_
in
range
(
6
))
+
".zip"
self
.
temp_filename
=
os
.
path
.
abspath
(
self
.
temp_filename
)
self
.
temp_filename
=
os
.
path
.
join
(
tempfile
.
gettempdir
(),
self
.
temp_filename
)
zip_fs
=
zipfs
.
ZipFS
(
self
.
temp_filename
,
'w'
)
...
...
@@ -588,7 +588,7 @@ class TestAppendZipFS(TestWriteZipFS):
def
setUp
(
self
):
self
.
temp_filename
=
""
.
join
(
random
.
choice
(
"abcdefghijklmnopqrstuvwxyz"
)
for
_
in
range
(
6
))
+
".zip"
self
.
temp_filename
=
os
.
path
.
abspath
(
self
.
temp_filename
)
self
.
temp_filename
=
os
.
path
.
join
(
tempfile
.
gettempdir
(),
self
.
temp_filename
)
zip_fs
=
zipfs
.
ZipFS
(
self
.
temp_filename
,
'w'
)
...
...
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