1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00
gns3-server/tests/topologies
2019-10-08 17:34:16 +08:00
..
1_0_empty
1_3_dynamips
1_3_dynamips_missing_platform
1_3_dynamips_missing_type Fix invalid test for 1.3 topology conversion to GNS3 2.1 2017-06-06 16:07:27 +02:00
1_5_builtins Fix tests. Ref #1659 2019-10-08 17:34:16 +08:00
1_5_cloud Fix tests. Ref #1659 2019-10-08 17:34:16 +08:00
1_5_cloud_nat Fix tests. Ref #1659 2019-10-08 17:34:16 +08:00
1_5_cloud_udp Fix tests. Ref #1659 2019-10-08 17:34:16 +08:00
1_5_docker_remote
1_5_drawing
1_5_dynamips
1_5_host Fix tests. Ref #1659 2019-10-08 17:34:16 +08:00
1_5_images
1_5_internet Fix tests. Ref #1659 2019-10-08 17:34:16 +08:00
1_5_iou
1_5_qemu Allow to have projects with the same name in different locations. 2018-03-30 23:01:37 +07:00
1_5_snapshot
1_5_virtualbox Allow to have projects with the same name in different locations. 2018-03-30 23:01:37 +07:00
1_5_vmware Allow to have projects with the same name in different locations. 2018-03-30 23:01:37 +07:00
1_5_vpcs
2_0_vmware Allow to have projects with the same name in different locations. 2018-03-30 23:01:37 +07:00
dynamips_2_0_0_b2
README.rst

This directories contain topologies made for previous version of GNS3

Each directory is a GNS3 project. You have two directory inside:
* before 
* after

Before is the state of the project before conversion and after
is the reference for checking if conversion is a success.

To check if file are the same we check the file size except
for .gns3

.gns3 check
###########

The .gns3 json is loaded and compare to the reference project.

You have some special value in the after project:
* "ANYSTR" allow for any string to match
* "ANYUUID" allow for any uuid to match


Run the tests
###############

You can run the tests with:

.. code:: bash

    py.test -vv -x tests/test_topologies.py