diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-02-26 11:25:34 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-02-28 10:20:46 +0000 |
commit | 793569e2ce7ebf5b4d549db94423b851f13950fc (patch) | |
tree | 5a71b8b4c20838dbd7a0ca2d5a9a7142da3c518c /tests/unit/network_services/helpers/test_cpu.py | |
parent | dfd9ce0c3b0f8bcb265d0889ad2f27bf039ae2a2 (diff) |
Add Flags class to base.Context
This patch adds a Flags class to represent the flags passed to
the context.
Flags will contain a set of attributes (for example no_setup and no_teardown).
Those attributes will modify the behaviour of the context.
The attributes added initially are:
* 'no_setup' (default: False)
* 'no_teardown' (default: False)
In future patches, they will be used by the context to:
* Change the name of the context.
* Skip the deploy() and undeploy() methods to keep the VNFs active after the
testcases are run.
JIRA: YARDSTICK-886
Change-Id: I734b082aa101649eea8991304a8b753ae96aa9de
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'tests/unit/network_services/helpers/test_cpu.py')
0 files changed, 0 insertions, 0 deletions