Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
francois
erp5
Commits
46e1fa2e
Commit
46e1fa2e
authored
Sep 01, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test: use randomly created web site.
parent
5fa14f6a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
bt5/networkcache_erp5/TestTemplateItem/testShaCacheExternal.py
...etworkcache_erp5/TestTemplateItem/testShaCacheExternal.py
+1
-2
bt5/networkcache_erp5/TestTemplateItem/testShaDirExternal.py
bt5/networkcache_erp5/TestTemplateItem/testShaDirExternal.py
+1
-2
bt5/networkcache_erp5/bt/revision
bt5/networkcache_erp5/bt/revision
+1
-1
No files found.
bt5/networkcache_erp5/TestTemplateItem/testShaCacheExternal.py
View file @
46e1fa2e
...
...
@@ -77,8 +77,7 @@ class TestShaCacheExternal(ShaCacheMixin, ShaSecurityMixin, ERP5TypeTestCase):
# HTTP Connection properties
self
.
host
=
self
.
portal
.
REQUEST
.
get
(
'SERVER_NAME'
)
self
.
port
=
self
.
portal
.
REQUEST
.
get
(
'SERVER_PORT'
)
web_site_path
=
self
.
portal
.
data_set_module
.
web_site_module
.
shacache
.
getPath
()
self
.
path
=
os
.
path
.
join
(
web_site_path
,
self
.
key
)
self
.
path
=
os
.
path
.
join
(
self
.
shacache
.
getPath
(),
self
.
key
)
def
test_external_post
(
self
):
"""
...
...
bt5/networkcache_erp5/TestTemplateItem/testShaDirExternal.py
View file @
46e1fa2e
...
...
@@ -76,8 +76,7 @@ class TestShaDirExternal(ShaDirMixin, ShaSecurityMixin, ERP5TypeTestCase):
# HTTP Connection properties
self
.
host
=
self
.
portal
.
REQUEST
.
get
(
'SERVER_NAME'
)
self
.
port
=
self
.
portal
.
REQUEST
.
get
(
'SERVER_PORT'
)
web_site_path
=
self
.
portal
.
web_site_module
.
shadir
.
getPath
()
self
.
path
=
os
.
path
.
join
(
web_site_path
,
self
.
key
)
self
.
path
=
os
.
path
.
join
(
self
.
shadir
.
getPath
(),
self
.
key
)
def
test_external_post
(
self
):
"""
...
...
bt5/networkcache_erp5/bt/revision
View file @
46e1fa2e
21
\ No newline at end of file
22
\ No newline at end of file
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