Commit Graph
26 Commits
Author SHA1 Message Date
bendtherules d0cc77c29f Add first redis state load test 2016-01-10 23:37:06 +05:30
bendtherules 0985184713 Move redis tests inside TestRedisFail class 2016-01-10 17:02:38 +05:30
bendtherules 94fab5d739 Add __init__.py for relative import 2016-01-10 07:05:12 +05:30
bendtherules 07d6df5d84 move test_gui and update todo 2016-01-09 23:07:15 +05:30
bendtherules 0c1a344e61 In test_env, check both utils and plugin env 2016-01-09 22:54:45 +05:30
bendtherules 2a4c3fe0fe Move loading options from env code to utils 2016-01-09 22:50:44 +05:30
bendtherules 14fffc1b49 Use s in test_gui + put it in utils + rename utils in gui 2016-01-07 22:31:33 +05:30
bendtherules dcd8355454 Use str(error) instead of error.message for py3 compat 2016-01-07 20:42:05 +05:30
bendtherules c171721a2d Move test helpers like reload_2_3 and others to basedir
Also add __init__.py to allow relative imports
2016-01-07 20:28:56 +05:30
bendtherules 751aec53b4 Use redis_master fixture 2016-01-07 14:23:10 +05:30
bendtherules e8c6f338bf Mock htmlpy in gui_tests as it requires pyside
gui_tests currently dont require anything from htmlpy, only test redis fail cases
2016-01-03 16:39:07 +05:30
bendtherules 86c7117076 Redis fail tests in gui test + todo update 2016-01-03 11:29:34 +05:30
bendtherules 1e8203a92d Small fixes in doc + missing app_gui.stop on error 2016-01-03 11:27:40 +05:30
bendtherules c446797d83 Added and use cross-version reload function 2015-12-30 09:18:22 +05:30
bendtherules 9f7183e6c1 Use importlib.reload for compatibility with all ver of python 2015-12-30 08:56:42 +05:30
bendtherules 3351b20194 Ignore self as plugin while self test + minor cleanup 2015-12-29 22:46:14 +05:30
bendtherules 1533bce400 env config test passing, update todo - add to pytest.ini 2015-12-29 11:39:06 +05:30
bendtherules 69c59a9f8b Add env config test 2015-12-29 10:38:52 +05:30
bendtherules dff21fce37 Use env REDIS_ARGS, REDIS_PATH and port in caps 2015-12-25 18:26:27 +05:30
bendtherules a127bc4af7 Use s in 3rd test 2015-12-24 12:46:12 +05:30
bendtherules b735e4fe5c Use s to convert from bytes to str everywhere 2015-12-24 12:43:28 +05:30
bendtherules 7f8a0a930c Ad intermediate test + put test_plugin in folder 2015-12-23 11:43:55 +05:30
bendtherules 26ecc00f2f add plugin test to check intermediate steps
still need to move them to folder such that pytest tracks it automatically
2015-12-23 11:12:02 +05:30
bendtherules bc06862a7f Added redis pipeline, cmd arg for gui, register plugin
1. Used redis pipeline for consecutive writes when possible

2. Add --status_gui option for py.test. So, removed explicit plugin from self test as it creates conflict.

3. Register as plugin in setup.py using pytest11

4. Update todo
2015-12-21 20:48:57 +05:30
bendtherules f9a4b0c5e5 Formatting correction 2015-12-20 10:02:56 +05:30
bendtherules 02f0a440a0 Add 2 full tests for plugin + use env port for test 2015-12-18 23:06:38 +05:30