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
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
erp5
Commits
b302c754
Commit
b302c754
authored
Aug 30, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into zope4py2
parents
1c4d476e
2e67044a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
bt5/erp5_data_notebook/TestTemplateItem/portal_components/test.erp5.testExecuteJupyter.py
...ateItem/portal_components/test.erp5.testExecuteJupyter.py
+14
-1
No files found.
bt5/erp5_data_notebook/TestTemplateItem/portal_components/test.erp5.testExecuteJupyter.py
View file @
b302c754
...
...
@@ -31,6 +31,7 @@ from Products.ERP5Type.tests.utils import createZODBPythonScript, removeZODBPyth
import
time
import
json
import
jupyter_client
import
base64
import
random
import
string
...
...
@@ -1053,4 +1054,16 @@ print os.path
'sympy'
,
]
imported_egg_list
=
[
egg
for
egg
in
egg_list
if
self
.
checkEgg
(
egg
)]
self
.
assertEqual
(
set
(
egg_list
),
set
(
imported_egg_list
))
\ No newline at end of file
self
.
assertEqual
(
set
(
egg_list
),
set
(
imported_egg_list
))
def
testERP5hasAccessToERP5Kernel
(
self
):
'''
Test whether the erp5 specific jupyter kernel is accessible from within erp5.
'''
try
:
jupyter_client
.
kernelspec
.
KernelSpecManager
().
get_kernel_spec
(
'erp5'
)
except
jupyter_client
.
kernelspec
.
NoSuchKernel
:
has_access_to_erp5_kernel
=
False
else
:
has_access_to_erp5_kernel
=
True
self
.
assertTrue
(
has_access_to_erp5_kernel
)
\ 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