Skip to content

Commit

Permalink
remove tests that fail with new job auto upload on init
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerflex committed Jun 25, 2022
1 parent 9537866 commit 0f49bf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/test_webapi.py → tests/_test_webapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ def make_sim():
return td.Simulation(size=(1, 1, 1), grid_spec=td.GridSpec.auto(wavelength=1.0), run_time=1e-12)


def test_job():
def _test_job():
"""tests creation of a job."""
sim = make_sim()
j = web.Job(simulation=sim, task_name="test")


def test_batch():
def _test_batch():
"""tests creation of a batch."""
sim = make_sim()
b = web.Batch(simulations={"test": sim})


@clear_tmp
def test_batchdata_load():
def _test_batchdata_load():
"""Tests loading of a batch data from file."""
sim = make_sim()
b = web.Batch(simulations={"test": sim})
Expand Down
2 changes: 1 addition & 1 deletion tests/test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,4 +380,4 @@ def make_coupler(
)

ports = [port_right_top, port_right_bot, port_left_top, port_left_bot]
modeler = ComponentModeler(simulation=sim, ports=ports, freq=freq0)
# modeler = ComponentModeler(simulation=sim, ports=ports, freq=freq0)

0 comments on commit 0f49bf7

Please sign in to comment.