Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: version in snapshot (#2690)

Myles Scolnick1b439469424f
diff --git a/tests/_islands/snapshots/html.txt b/tests/_islands/snapshots/html.txt
index 1b7ca3fb03..39b470253f 100644
--- a/tests/_islands/snapshots/html.txt
+++ b/tests/_islands/snapshots/html.txt
@@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8" />
<title> main </title>
- <script type="module" src="https://cdn.jsdelivr.net/npm/@marimo-team/[email protected]/dist/main.js"></script>
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@marimo-team/[email protected]/dist/main.js"></script>
<link
- href="https://cdn.jsdelivr.net/npm/@marimo-team/[email protected]/dist/style.css"
+ href="https://cdn.jsdelivr.net/npm/@marimo-team/[email protected]/dist/style.css"
rel="stylesheet"
crossorigin="anonymous"
/>
diff --git a/tests/_islands/test_island_generator.py b/tests/_islands/test_island_generator.py
index 912d2bd7e8..28f37febfb 100644
--- a/tests/_islands/test_island_generator.py
+++ b/tests/_islands/test_island_generator.py
@@ -209,7 +209,7 @@ async def test_render_html():
assert "<head>" in html
assert "<body>" in html
assert "Hello%2C%20HTML!" in html
- snapshot("html.txt", html)
+ snapshot("html.txt", html.replace(__version__, "0.0.0"))
def test_app_config():