You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gns3-server/tests/topologies
Julien Duponchelle 241c9b0c11
Fix Error when converting some dynamips topologies from 1.3 => 2.0
8 years ago
..
1_0_empty Fix crash when loading a topology without project id 8 years ago
1_3_dynamips Move the generation of the list of ports to the server 8 years ago
1_3_dynamips_missing_platform Fix Error when converting some dynamips topologies from 1.3 => 2.0 8 years ago
1_5_builtins Conversion issue for switch & hub from 1.5 to 2.0 8 years ago
1_5_cloud Move the generation of the list of ports to the server 8 years ago
1_5_docker_remote Move the generation of the list of ports to the server 8 years ago
1_5_drawing Make topologies test independent of the version of GNS3 8 years ago
1_5_dynamips Move the generation of the list of ports to the server 8 years ago
1_5_host Move the generation of the list of ports to the server 8 years ago
1_5_images Support image in conversion from old topologies 8 years ago
1_5_internet Move the generation of the list of ports to the server 8 years ago
1_5_iou Make test of topology conversion independent of the version 8 years ago
1_5_qemu Move the generation of the list of ports to the server 8 years ago
1_5_snapshot Make test of topology conversion independent of the version 8 years ago
1_5_virtualbox Move the generation of the list of ports to the server 8 years ago
1_5_vmware Move the generation of the list of ports to the server 8 years ago
1_5_vpcs Move the generation of the list of ports to the server 8 years ago
README.rst Start of support for topologies before 2.X 8 years ago

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