1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-12 19:38:57 +00:00
gns3-server/tests/topologies
2016-09-05 11:11:23 +02:00
..
1_0_empty Fix crash when loading a topology without project id 2016-08-31 09:42:58 +02:00
1_3_dynamips Make topologies test independent of the version of GNS3 2016-07-14 15:34:03 +02:00
1_5_builtins Make topologies test independent of the version of GNS3 2016-07-14 15:34:03 +02:00
1_5_cloud Cloud support for old topologies 2016-07-12 18:48:01 +02:00
1_5_docker_remote Make topologies test independent of the version of GNS3 2016-07-14 15:34:03 +02:00
1_5_drawing Make topologies test independent of the version of GNS3 2016-07-14 15:34:03 +02:00
1_5_dynamips Make topologies test independent of the version of GNS3 2016-07-14 15:34:03 +02:00
1_5_host Support Host node from 1.X topologies 2016-07-26 21:40:11 +02:00
1_5_images Support image in conversion from old topologies 2016-07-13 16:37:05 +02:00
1_5_internet Replace the internet VM by the Nat node 2016-09-05 11:11:23 +02:00
1_5_iou IOU support for conversion from 1.5 2016-07-18 18:55:47 +02:00
1_5_qemu Replace the internet VM by the Nat node 2016-09-05 11:11:23 +02:00
1_5_snapshot Support convertsion of 1.5 snapshots 2016-07-28 18:11:52 +02:00
1_5_virtualbox Make topologies test independent of the version of GNS3 2016-07-14 15:34:03 +02:00
1_5_vmware Make topologies test independent of the version of GNS3 2016-07-14 15:34:03 +02:00
1_5_vpcs Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
README.rst Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00

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