Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin-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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
wendelin-telecom
Commits
803d1e78
Commit
803d1e78
authored
Apr 03, 2023
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors_wendelin_test: dummy test
parent
74575586
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
173 additions
and
0 deletions
+173
-0
bt5/ors_wendelin_test/TestTemplateItem/portal_components/test.erp5.testORSWendelin.py
...mplateItem/portal_components/test.erp5.testORSWendelin.py
+48
-0
bt5/ors_wendelin_test/TestTemplateItem/portal_components/test.erp5.testORSWendelin.xml
...plateItem/portal_components/test.erp5.testORSWendelin.xml
+121
-0
bt5/ors_wendelin_test/bt/dependency_list
bt5/ors_wendelin_test/bt/dependency_list
+1
-0
bt5/ors_wendelin_test/bt/template_format_version
bt5/ors_wendelin_test/bt/template_format_version
+1
-0
bt5/ors_wendelin_test/bt/template_test_id_list
bt5/ors_wendelin_test/bt/template_test_id_list
+1
-0
bt5/ors_wendelin_test/bt/title
bt5/ors_wendelin_test/bt/title
+1
-0
No files found.
bt5/ors_wendelin_test/TestTemplateItem/portal_components/test.erp5.testORSWendelin.py
0 → 100644
View file @
803d1e78
##############################################################################
#
# Copyright (c) 2002-2015 Nexedi SA and Contributors. All Rights Reserved.
#
# This program is free software: you can Use, Study, Modify and Redistribute
# it under the terms of the GNU General Public License version 3, or (at your
# option) any later version, as published by the Free Software Foundation.
#
# You can also Link and Combine this program with other software covered by
# the terms of any of the Free Software licenses or any of the Open Source
# Initiative approved licenses and Convey the resulting work. Corresponding
# source of such a combination shall include the source code for all other
# software used.
#
# This program is distributed WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
#
##############################################################################
from
cStringIO
import
StringIO
import
base64
import
numpy
as
np
import
string
import
random
import
struct
import
urllib
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
wendelin.bigarray.array_zodb
import
ZBigArray
class
ORSWendelinTest
(
ERP5TypeTestCase
):
"""
ORS Wendelin Test
"""
def
getTitle
(
self
):
return
"ORS Wendelin Test"
def
test_01_dummy
(
self
):
"""
Test that we do not load pickles when converting encoded wendelin data to numpy.
"""
pass
bt5/ors_wendelin_test/TestTemplateItem/portal_components/test.erp5.testORSWendelin.xml
0 → 100644
View file @
803d1e78
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testORSWendelin
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testORSWendelin
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 23, 0: Unused StringIO imported from cStringIO (unused-import)
</string>
<string>
W: 24, 0: Unused import base64 (unused-import)
</string>
<string>
W: 25, 0: Unused numpy imported as np (unused-import)
</string>
<string>
W: 26, 0: Unused import string (unused-import)
</string>
<string>
W: 27, 0: Unused import random (unused-import)
</string>
<string>
W: 28, 0: Unused import struct (unused-import)
</string>
<string>
W: 29, 0: Unused import urllib (unused-import)
</string>
<string>
W: 33, 0: Unused ZBigArray imported from wendelin.bigarray.array_zodb (unused-import)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/ors_wendelin_test/bt/dependency_list
0 → 100644
View file @
803d1e78
ors_wendelin
\ No newline at end of file
bt5/ors_wendelin_test/bt/template_format_version
0 → 100644
View file @
803d1e78
1
\ No newline at end of file
bt5/ors_wendelin_test/bt/template_test_id_list
0 → 100644
View file @
803d1e78
test.erp5.testORSWendelin
\ No newline at end of file
bt5/ors_wendelin_test/bt/title
0 → 100644
View file @
803d1e78
ors_wendelin_test
\ 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