Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/refactor-edb-cfg' into refactor-…
Browse files Browse the repository at this point in the history
…edb-cfg
  • Loading branch information
ring630 committed Oct 27, 2024
2 parents 0600b8f + ecbddb5 commit 57c5c89
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/pyedb/configuration/cfg_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
# SOFTWARE.

from pyedb.configuration.cfg_common import CfgBase
from pyedb.dotnet.edb_core.general import (
pascal_to_snake,
snake_to_pascal,
)
from pyedb.dotnet.edb_core.general import pascal_to_snake, snake_to_pascal


class CfgComponent(CfgBase):
Expand Down
1 change: 0 additions & 1 deletion tests/legacy/system/test_edb_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,4 +626,3 @@ def test_properties(self, edb_examples):
}
edbapp.components["C378"].model_properties = pp
assert edbapp.components["C378"].model_properties == pp

2 changes: 1 addition & 1 deletion tests/legacy/system/test_edb_configuration_2p0.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def test_09_padstack_definition(self, edb_examples):
edbapp = edb_examples.get_si_verse()
assert edbapp.configuration.load(data, apply_file=True)
data_from_layout = edbapp.configuration.get_data_from_db(padstacks=True)
pdef = [i for i in data_from_layout["padstacks"]["definitions"] if i["name"]=="v35h15"][0]
pdef = [i for i in data_from_layout["padstacks"]["definitions"] if i["name"] == "v35h15"][0]

pad_params = pdef["pad_parameters"]
assert pad_params["regular_pad"][0]["diameter"] == "0.5mm"
Expand Down

0 comments on commit 57c5c89

Please sign in to comment.