Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
telecom
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
Roque
telecom
Commits
a0f4d646
Commit
a0f4d646
authored
May 18, 2018
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scalability: getTestList method returns unit tests
parent
efe1d9d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
scalability_test/__init__.py
scalability_test/__init__.py
+6
-2
No files found.
scalability_test/__init__.py
View file @
a0f4d646
...
...
@@ -9,10 +9,14 @@ PERSON_KEY = "person_per_hour"
class
WendelinERP5_scalability
():
def
getTestList
(
self
):
return
[
'createPerson'
]
component_re
=
re
.
compile
(
".*/([^/]+)/TestTemplateItem/portal_components"
"/test
\
.[^.]+
\
.([^.]+).py$"
)
return
[
'%s:%s'
%
(
x
.
group
(
1
),
x
.
group
(
2
))
\
for
x
in
[
component_re
.
match
(
y
)
for
y
in
glob
.
glob
(
os
.
path
.
join
(
BT5
,
'*'
,
'*'
,
'*'
,
'test.erp5.test*.py'
))]]
def
getTestPath
(
self
):
return
'
example
/'
return
'/'
def
getUsersFilePath
(
self
):
return
'example/scalabilityUsers'
...
...
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