-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
713 changed files
with
26,332 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Created by pytest automatically. | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Signature: 8a477f597d28d172789f06886806bc55 | ||
# This file is a cache directory tag created by pytest. | ||
# For information about cache directory tags, see: | ||
# https://bford.info/cachedir/spec.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# pytest cache directory # | ||
|
||
This directory contains data from the pytest's cache plugin, | ||
which provides the `--lf` and `--ff` options, as well as the `cache` fixture. | ||
|
||
**Do not** commit this to version control. | ||
|
||
See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information. |
10 changes: 10 additions & 0 deletions
10
ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.38.127:443:linux]": true, | ||
"tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.38.127:443:linux]": true, | ||
"tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.38.127:443:linux]": true, | ||
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.38.127:443:linux]": true, | ||
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.38.127:443:linux]": true, | ||
"tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.38.127:443:linux]": true, | ||
"tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.38.127:443:linux]": true, | ||
"tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.38.127:443:linux]": true | ||
} |
242 changes: 242 additions & 0 deletions
242
ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
17 changes: 17 additions & 0 deletions
17
ixnetwork_restpy/pytest_tests/tests/test_find_with_href.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import pytest | ||
|
||
|
||
def test_select_call_with_list_of_hrefs(ixnetwork): | ||
ixnetwork.Vport.add().add().add().add() | ||
vps = ixnetwork.Vport.find() | ||
assert len(vps) == 4 | ||
|
||
ixnetwork.Topology.add(Vports=vps[0:2]).add(Vports=vps[2:]) | ||
tp = ixnetwork.Topology.find(Ports=vps[1].href + "|" + vps[0].href) | ||
assert len(tp) == 1 | ||
tp = ixnetwork.Topology.find(Ports=vps[3].href + "|" + vps[0].href) | ||
assert len(tp) == 2 | ||
|
||
|
||
if __name__ == "__main__": | ||
pytest.main(["-v", "-s", "--server", "localhost:11009:windows", __file__]) |
31 changes: 24 additions & 7 deletions
31
...testplatform/sessions/ixnetwork/availablehardware/chassis/card/aggregation/aggregation.py
Large diffs are not rendered by default.
Oops, something went wrong.
31 changes: 24 additions & 7 deletions
31
ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/card.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.