Commit Graph

6 Commits

Author SHA1 Message Date
Sean McGinnis 567e3aed9b
Remove mox3 from test-requirements
This lib is not actually used. Clean up references to it so we can
remove it from global requirements.

Change-Id: If02bcb35410710fb0b1119d9234f4c26555321d3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-08 09:36:54 -05:00
jacky06 31fe6d7544 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: Ib80f2494f0355f6eafcd1df7f7822e31e9e64c40
2020-05-15 17:24:25 +00:00
Sean McGinnis 7f5336cd0d
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I7bf6d007ca8c01b53152301d862f3aacf11480b2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-20 16:08:32 -05:00
Akihiro Motoki 253294f0b5 Drop nose dependencies
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.

The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.

The command line to invoke UT in tox.ini is updated accordingly:
* --ignore-files=masakaridashboard/test/uuidsentinel.py is unnecessary
  as this file does not include test cases.
* --verbosity 2 is added to watch the test progress.
* Duplicated {posargs} in 'coverage' env is fixed.
* --exclude-dir in 'coverage' env is dropped as the corresponding
  directory does not exist.

Change-Id: I28b97f49ba480d2cbada36026e5bc6932213c689
2018-09-30 20:10:29 +09:00
nirajsingh c429554def Add segment panel
Added segment panel and implemented list and create segment
functionality.Added test cases that actually not covering the
line of code but tested the list and create functionally.

Partial-Implements: blueprint masakari-dashboard

Change-Id: I1366bfdc188f4e0d53fa46f2a6ea3790c9f295fc
2018-07-05 12:34:31 +05:30
nirajsingh b09b094a2b Initial UI-Cookiecutter commit
Added required project files to the repository.

Change-Id: I869b9f2cf04ec00d8bbf00e2720e64175e55eaee
2018-03-16 10:02:55 +05:30