liquidcarbon commited on
Commit
08b733e
·
verified ·
1 Parent(s): 5b4e1ac

test embedded app

Browse files
Files changed (1) hide show
  1. notebooks/test_multiplier +10 -0
notebooks/test_multiplier ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import asyncio
2
+ from multiplier import app
3
+
4
+ result = asyncio.run(app.embed())
5
+ defs = result.defs._dict # all variables as they exist in a current state
6
+
7
+ def test_z_is_defined():
8
+ z = defs.get("z")
9
+ assert z
10
+ print(z)