Skip to content

Commit

Permalink
[sonic_sku_create] Move tests from sonic-utilities-tests/ folder to t…
Browse files Browse the repository at this point in the history
…ests/ folder (sonic-net#1222)

Move all files currently in sonic-utilities-tests folder to tests folder of sonic-utilities repository

Co-authored-by: Madhan Babu <[email protected]>
  • Loading branch information
madhanmellanox and Madhan Babu authored Nov 7, 2020
1 parent 0d49a85 commit 673f98d
Show file tree
Hide file tree
Showing 22 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/sonic_sku_create.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python2
#!/usr/bin/python
"""
usage: sonic_sku_create.py [-h] [-v] [-f FILE] [-m [MINIGRAPH_FILE]] [-b BASE]
[-r] [-k HWSKU]
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
test_path = os.path.dirname(os.path.abspath(__file__))
modules_path = os.path.dirname(test_path)
scripts_path = os.path.join(modules_path, "scripts")
input_path = os.path.join(modules_path, "sonic-utilities-tests/sku_create_input")
input_path = os.path.join(modules_path, "tests/sku_create_input")
sku_def_file = os.path.join(input_path, "Mellanox-SN2700-D48C8.xml")
sku_create_script = os.path.join(scripts_path, "sonic_sku_create.py")
output_file_path = os.path.join(modules_path, "sonic-utilities-tests/sku_create_input/Mellanox-SN2700-D48C8_NEW/port_config.ini")
model_file_path = os.path.join(modules_path, "sonic-utilities-tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini")
output_file_path = os.path.join(modules_path, "tests/sku_create_input/Mellanox-SN2700-D48C8_NEW/port_config.ini")
model_file_path = os.path.join(modules_path, "tests/sku_create_input/Mellanox-SN2700-D48C8/port_config.ini")

sys.path.insert(0, test_path)
sys.path.insert(0, modules_path)
Expand Down

0 comments on commit 673f98d

Please sign in to comment.