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
Labels
Merge Requests
139
Merge Requests
139
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
Jobs
Commits
Open sidebar
nexedi
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
Pipeline
#23183
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show 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
...
...
@@ -1054,3 +1055,15 @@ print os.path
]
imported_egg_list
=
[
egg
for
egg
in
egg_list
if
self
.
checkEgg
(
egg
)]
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