mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix basic
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import pytest
|
||||
|
||||
from textual.layouts.dock import DockLayout
|
||||
from textual.layouts.vertical import VerticalLayout
|
||||
from textual.layouts.factory import get_layout, MissingLayout
|
||||
|
||||
|
||||
def test_get_layout_valid_layout():
|
||||
layout = get_layout("dock")
|
||||
assert type(layout) is DockLayout
|
||||
layout = get_layout("vertical")
|
||||
assert type(layout) is VerticalLayout
|
||||
|
||||
|
||||
def test_get_layout_invalid_layout():
|
||||
|
||||
Reference in New Issue
Block a user