mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2025-04-13 11:58:21 +02:00
Update definitions_test.py
Fixed mistake - left testing code in
This commit is contained in:
parent
6a7ad19f42
commit
7b527f51ba
@ -61,13 +61,12 @@ def _get_diff_from_upstream():
|
||||
|
||||
for file in changes:
|
||||
if file.change_type in CHANGE_TYPE_LIST:
|
||||
if 'DCS-7280CR3-32P4.yaml' in file.a_path or 'DCS-7280CR3-32P4.yaml' in file.b_path:
|
||||
if 'R' in file.change_type:
|
||||
file_list.append((file.rename_to, schema))
|
||||
elif path in file.a_path:
|
||||
file_list.append((file.a_path, schema))
|
||||
elif path in file.b_path:
|
||||
file_list.append((file.b_path, schema))
|
||||
if 'R' in file.change_type:
|
||||
file_list.append((file.rename_to, schema))
|
||||
elif path in file.a_path:
|
||||
file_list.append((file.a_path, schema))
|
||||
elif path in file.b_path:
|
||||
file_list.append((file.b_path, schema))
|
||||
|
||||
return file_list
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user