chore: adopt remaining local development state
Catch-all for the intermixed residue of the unpushed otko-development work ported into this tree: combinations/console-dock/quick-guide wiring across commands, core, services, views and tests; repo-wide ruff-format normalization; README/CONTRIBUTING updates; and the toolbar default (both toolbars now open in the top area, quick guide text updated). Splitting this further would require hunk-level surgery with low confidence; the preceding commits in this branch isolate the self-contained features.
This commit is contained in:
parent
cb4bf8fccd
commit
ba783718d4
152 changed files with 3394 additions and 1651 deletions
|
|
@ -18,15 +18,24 @@ from otko.views.dialogs.assign_zls import ( # noqa: E402
|
|||
|
||||
def _project_with_section() -> Project:
|
||||
return Project(
|
||||
ndm=2, ndf=3,
|
||||
ndm=2,
|
||||
ndf=3,
|
||||
nodes=[
|
||||
Node(id=1, coords=(0, 0, 0)),
|
||||
Node(id=2, coords=(0, 0, 0)),
|
||||
],
|
||||
sections=[ElasticSection(
|
||||
id=3, name="MK", E=30000, A=200, Iz=6667, Iy=6667,
|
||||
G=12000, J=100,
|
||||
)],
|
||||
sections=[
|
||||
ElasticSection(
|
||||
id=3,
|
||||
name="MK",
|
||||
E=30000,
|
||||
A=200,
|
||||
Iz=6667,
|
||||
Iy=6667,
|
||||
G=12000,
|
||||
J=100,
|
||||
)
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -43,7 +52,8 @@ def test_dialog_lists_project_sections(qtbot) -> None: # type: ignore[no-untype
|
|||
@pytest.mark.gui
|
||||
def test_dialog_disabled_when_no_sections(qtbot) -> None: # type: ignore[no-untyped-def]
|
||||
p = Project(
|
||||
ndm=2, ndf=3,
|
||||
ndm=2,
|
||||
ndf=3,
|
||||
nodes=[Node(id=1, coords=(0, 0, 0)), Node(id=2, coords=(0, 0, 0))],
|
||||
)
|
||||
dlg = AssignZeroLengthSectionDialog(p, (1, 2))
|
||||
|
|
|
|||
Loading…
Reference in a new issue