Skip to content

Commit

Permalink
Remove unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Sep 26, 2023
1 parent 2391526 commit 561058d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions vizro-core/tests/unit/vizro/models/test_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from pydantic import ValidationError

import vizro.models as vm
from vizro import Vizro
from vizro._constants import ON_PAGE_LOAD_ACTION_PREFIX
from vizro.models._action._actions_chain import ActionsChain

Expand Down Expand Up @@ -96,11 +95,3 @@ def test_action_auto_generation_valid(self, standard_px_chart):
assert len(page.actions) == 1
assert isinstance(page.actions[0], ActionsChain)
assert page.actions[0].id == f"{ON_PAGE_LOAD_ACTION_PREFIX}_Page 1"


class TestPageBuild:
def test_single_page_build_no_left_side(self, standard_px_chart):
page = vm.Page(title="Page 1", components=[vm.Graph(id="scatter_chart", figure=standard_px_chart)])
Vizro().build(vm.Dashboard(pages=[page]))
result = str(page.build())
assert ("left_side" not in result) is True

0 comments on commit 561058d

Please sign in to comment.