Move unittest YAML files into their own directory, pending more python unit tests in a followup commit
This commit is contained in:
17
unittest/yaml/error-subinterface1.yaml
Normal file
17
unittest/yaml/error-subinterface1.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
test:
|
||||
description: "Two subinterfaces can't have the same encapsulation"
|
||||
errors:
|
||||
expected:
|
||||
- "100 .* unique encapsulation"
|
||||
- "101 .* unique encapsulation"
|
||||
---
|
||||
interfaces:
|
||||
GigabitEthernet1/0/0:
|
||||
sub-interfaces:
|
||||
100:
|
||||
description: "VLAN 100"
|
||||
101:
|
||||
description: "Another VLAN 100"
|
||||
encapsulation:
|
||||
dot1q: 100
|
||||
|
Reference in New Issue
Block a user