Skip to content

vdk-jupyter: fix conversion#2699

Merged
duyguHsnHsn merged 1 commit intomainfrom
person/hduygu/vdk-jupyter-conversion-fix
Sep 26, 2023
Merged

vdk-jupyter: fix conversion#2699
duyguHsnHsn merged 1 commit intomainfrom
person/hduygu/vdk-jupyter-conversion-fix

Conversation

@duyguHsnHsn
Copy link
Copy Markdown
Contributor

What:
Fixed the conversion operation to add additional cell which runs the run function coming from .py step.

Before:
notebook_steps

After:

notebook_steps

Why:
To execute the python code in the function vdk-notebook requires it to be called (unlike how vdk generally works with .py steps).
The reason the bug was not caught is that it is only tested in the e2e tests and they are not yet added to the ci/cd.

Signed-off-by: Duygu Hasan hduygu@vmware.com

@antoniivanov
Copy link
Copy Markdown
Contributor

antoniivanov commented Sep 26, 2023

So the e2e tests would have caught it?

Consider still adding smaller scope tests if it's not too hard.

@duyguHsnHsn
Copy link
Copy Markdown
Contributor Author

So the e2e tests would have caught it?

Consider still adding smaller scope tests if it's not too hard.

We have tried it but there are some problems with some jupyter classes we need to use during testing with jest. They required full mocking of the hierarchy tree so that's why we ended up having only e2e tests

@duyguHsnHsn duyguHsnHsn merged commit a532059 into main Sep 26, 2023
@duyguHsnHsn duyguHsnHsn deleted the person/hduygu/vdk-jupyter-conversion-fix branch September 26, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants