Skip to content

Commit

Permalink
Updated som tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Jun 30, 2024
1 parent 68f10d5 commit ab107df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 141 deletions.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
<ibkr.version>10.19</ibkr.version>
<surefire.failIfNoSpecifiedTests>false</surefire.failIfNoSpecifiedTests>
<skipIntegrationTests>true</skipIntegrationTests>

</properties>

<repositories>
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package org.roboquant.jupyter

import org.jetbrains.kotlinx.jupyter.api.MimeTypedResult
import org.junit.jupiter.api.assertDoesNotThrow
import org.roboquant.charts.PriceChart
import org.roboquant.common.RoboquantException
Expand All @@ -40,8 +39,11 @@ internal class JupyterCoreTest {
assertTrue { t.accepts(RoboquantException("test")) }
assertTrue { t.accepts(RuntimeException()) }
assertTrue { t.accepts(Throwable()) }
val output = t.render(Exception("Dummy"))
assertTrue { output is MimeTypedResult }

assertDoesNotThrow {
t.render(Exception("Dummy"))
}

}

@Test
Expand Down

0 comments on commit ab107df

Please sign in to comment.