Skip to content

Commit

Permalink
Correct isort and black format
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-adir committed Feb 13, 2024
1 parent 9fe60c2 commit b4388a3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_material.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os

import pytest

from compmec.section import material
import os


@pytest.mark.order(1)
@pytest.mark.dependency()
Expand Down Expand Up @@ -72,11 +74,10 @@ def test_begin(self):
@pytest.mark.timeout(1)
@pytest.mark.dependency(depends=["TestFromJson::test_begin"])
def test_main(self):
folder = os.getcwd()
json_filepath = "tests/json/steel_square.json"
mats = material.Isotropic.from_json(json_filepath)
steel = mats["steel"]
assert steel.young_modulus == 210e+3
assert steel.young_modulus == 210e3
assert steel.poissons_ratio == 0.3

@pytest.mark.order(1)
Expand Down

0 comments on commit b4388a3

Please sign in to comment.