Robert Tingirica
b0aa3b56b8
Fixes Python34 bugs
...
This fix is needed due to the different encodings on Python27 and
Python34. Some tests failed and some string values were not
compatible.
Change-Id: I7206a0549051971da76b3b30221aea9f86eed904
2014-12-09 20:34:21 +02:00
Robert Tingirica
82293036cb
Fixed assertEqual order in tests
...
Correct order should be assertEqual(<expected value>, <actual value>)
2014-09-10 14:27:53 +03:00
Robert Tingirica
6ebad94f38
Fixed various pep8 errors
2014-09-10 12:35:18 +03:00
Alessandro Pilotti
cb8e1c37b7
Test module patching refactoring
...
Replaces module reloading in tearDown() with explicit mock patch start
and stop.
2014-09-08 19:04:14 +03:00
Alessandro Pilotti
69afc9ab54
Replaces reload() and __builtin__ for Python 3.x
...
Uses "six.moves.reload_module" and "six.moves.builtins"
2014-09-08 15:33:44 +03:00
Robert Tingirica
fa53671896
Updated unit tests
2014-03-04 15:12:28 +02:00
Robert Tingirica
682b2b7531
Adds configdrive factory test configdrive load test
...
Adds test for get_config_drive_manager in the osconfigdrive factory
and adds a test for load method in configdrive module along with a
teardown method in test_userdatautils.
2014-02-25 17:59:21 +02:00
Adrian Vladu
7b0c075ec1
Fixes return code bug for powershell scripts
2014-02-24 22:10:17 +01:00
trobert2
d61826a0c6
Test refactoring
...
Added mock based unit tests for maasservice module, baseopenstack
module and changed all other tests in compliance with latest
refactoring.
2014-02-19 22:41:19 +02:00
Alessandro Pilotti
d7dff62e0a
Move to oslo.config
2014-02-10 04:47:28 +02:00
trobert2
0559e4a130
Modiffied tests for refactored userdata handling
...
Also modiffied the shellscript file where all extentions except for ".other"
were called with ".cmd"
2014-01-21 19:25:32 +02:00