4 Commits

Author SHA1 Message Date
adrian-turjak
1961ca91c3 Adding pep8 tests
* also fixing test posargs to allow single test running
* fixing up random pep8 failures
* removing empty or unused test modules

Change-Id: I59bb2fedeeac2b8eeb45740d16768fec59fb3e4b
2016-12-06 18:09:36 +13:00
Dale Smith
9d8adc726a Refactor action validation functions
* Removes duplication of code in validate
* Breaks large validation functions into atomic, reusable pieces in
  super classes.
* Started applying the rule where validation does not leave any side
  effects on class members other than the valid boolean.
* Validate functions are not called after the first fail, this
  gives less feedback to user, but is probably reasonable general
  assumption as some validation relies on others passing.
* Adding some tests for NewUser validation.
* Refactored how the FakeManager handled resource objects or
  ids being passed to it.
* Fixed some issues with logs being spat out during tests.

Change-Id: Iea0afce06e92d8f1a1bda0cc03a32c00909828d1
2016-11-07 14:22:22 +13:00
adriant
ff89e2e960 rename stacktask cmd to stacktask-api
* Done so that the client tool and the server
  can both be installed to the same environment.

Change-Id: Ic188c87600730b51b3dbf97b244b979d205e7eb9
2016-03-09 15:04:10 +13:00
adriant
572b22a1a8 adding tox file and some changes to test setup
Change-Id: Icd1f3965e4c2617c16c3440e79df17aa4ca0ab0a
2015-07-31 16:44:03 +12:00