Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Alain Takoudjou
slapos
Commits
eff1d550
Commit
eff1d550
authored
Jul 15, 2024
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/recipe: Fix mock buildout after buildout3
parent
ae238074
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
slapos/test/utils.py
slapos/test/utils.py
+4
-2
No files found.
slapos/test/utils.py
View file @
eff1d550
...
@@ -13,13 +13,15 @@ def makeRecipe(recipe_class, options, name='test', buildout=None):
...
@@ -13,13 +13,15 @@ def makeRecipe(recipe_class, options, name='test', buildout=None):
and SLAPOS_TEST_DEVELOP_EGGS_DIRECTORY environment variables, so that the
and SLAPOS_TEST_DEVELOP_EGGS_DIRECTORY environment variables, so that the
test recipe does not need to install eggs again when using working set.
test recipe does not need to install eggs again when using working set.
"""
"""
_buildout
=
{
_buildout
=
six
.
moves
.
UserDict
(
{
'buildout'
:
{
'buildout'
:
{
'bin-directory'
:
''
,
'bin-directory'
:
''
,
'find-links'
:
''
,
'find-links'
:
''
,
'allow-hosts'
:
''
,
'allow-hosts'
:
''
,
'allow-unknown-extras'
:
False
,
'develop-eggs-directory'
:
''
,
'develop-eggs-directory'
:
''
,
'eggs-directory'
:
''
,
'eggs-directory'
:
''
,
'directory'
:
''
,
'python'
:
'testpython'
,
'python'
:
'testpython'
,
},
},
'testpython'
:
{
'testpython'
:
{
...
@@ -31,7 +33,7 @@ def makeRecipe(recipe_class, options, name='test', buildout=None):
...
@@ -31,7 +33,7 @@ def makeRecipe(recipe_class, options, name='test', buildout=None):
'server-url'
:
''
,
'server-url'
:
''
,
'software-release-url'
:
''
,
'software-release-url'
:
''
,
}
}
}
}
)
_buildout
[
'buildout'
][
'eggs-directory'
]
=
os
.
environ
[
'SLAPOS_TEST_EGGS_DIRECTORY'
]
_buildout
[
'buildout'
][
'eggs-directory'
]
=
os
.
environ
[
'SLAPOS_TEST_EGGS_DIRECTORY'
]
_buildout
[
'buildout'
][
'develop-eggs-directory'
]
=
os
.
environ
[
'SLAPOS_TEST_DEVELOP_EGGS_DIRECTORY'
]
_buildout
[
'buildout'
][
'develop-eggs-directory'
]
=
os
.
environ
[
'SLAPOS_TEST_DEVELOP_EGGS_DIRECTORY'
]
...
...
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