50 Commits

Author SHA1 Message Date
Eric Torres
db170b40bc Split tests into special and normal cases for create_snapshot(), dunder and normal methods 2019-05-01 12:32:02 -07:00
Eric Torres
dea221a774 Do not pass a kwarg in test 2019-05-01 12:08:13 -07:00
Eric Torres
f33cf3c8a9 Split tests into specifically named test cases 2019-05-01 11:28:47 -07:00
Eric Torres
3058d53332 Add test module for rbackup.system 2019-04-23 23:48:46 -07:00
Eric Torres
72ad40e53b Do not force absolute-path handling for networking reasons 2019-04-23 22:55:54 -07:00
Eric Torres
3f8c3b5ae9 Move config module to config/config_files 2019-04-19 23:57:13 -07:00
Eric Torres
73246c3ccc Revert regex string 2019-04-18 22:06:10 -07:00
Eric Torres
b2c52994a2 Fix failing tests 2019-04-18 22:02:01 -07:00
Eric Torres
250ce3d945 Fix failing tests 2019-04-18 21:44:03 -07:00
Eric Torres
d6ecc6bbc3 Run black code formatter 2019-04-17 20:23:53 -07:00
Eric Torres
1b69d6aab4 Organize imports 2019-04-17 11:54:20 -07:00
Eric Torres
dbb5c0fa8b Make use of patch.stopall() 2019-04-17 11:53:05 -07:00
Eric Torres
8c1774e9fe Skip correct tests 2019-04-17 10:03:07 -07:00
Eric Torres
4640f7a98f Add cleanup tests for Hierarchy 2019-04-17 10:02:51 -07:00
Eric Torres
4d81405400 Add ctime attribute and test 2019-04-17 09:59:17 -07:00
Eric Torres
f55b5ba8af Make use of patch.multiple to clean up mocks 2019-04-16 22:54:45 -07:00
Eric Torres
43d4a07d26 Change test repository directory 2019-04-16 17:14:46 -07:00
Eric Torres
e7a8719dc9 Minor mock cleanups 2019-04-16 17:14:27 -07:00
Eric Torres
5022fef5bf Patch out symlinking 2019-04-16 13:48:20 -07:00
Eric Torres
b21dbd8890 Add lockfile attribute 2019-04-15 23:29:26 -07:00
Eric Torres
f2bf042549 Cleanup mocks 2019-04-15 23:27:29 -07:00
Eric Torres
46f15e2e82 Rename package_managers package to plugins 2019-04-15 10:42:28 -07:00
Eric Torres
386b200e9d Docstring cleanups for documentation 2019-04-14 14:56:09 -07:00
Eric Torres
14cb61311f Update tests 2019-04-14 12:40:10 -07:00
Eric Torres
412a7f5667 Add tests for config module 2019-04-14 12:26:12 -07:00
Eric Torres
792d641ff9 Fix escape sequence in docstring 2019-04-12 11:12:19 -07:00
Eric Torres
ad651cd804 Run black code formatter 2019-04-12 07:53:23 -07:00
Eric Torres
9a2935b4da Test all parts of Repository.cleanup() 2019-04-12 07:51:08 -07:00
Eric Torres
ceadeed216 Update input data parameters and restructure test methods 2019-04-11 22:18:42 -07:00
Eric Torres
2b1caf459c Skip metadata tests 2019-04-11 22:17:45 -07:00
Eric Torres
1cc6ed50e3 Add Repository.cleanup() 2019-04-11 22:13:14 -07:00
Eric Torres
8a407292c9 Use regex to parse user snapshot name input 2019-04-11 22:12:08 -07:00
Eric Torres
f98e3397ce Imports and docstring cleanups 2019-04-10 19:23:17 -07:00
Eric Torres
94c70b7b2e Update tests for struct package 2019-04-10 18:17:21 -07:00
Eric Torres
35167f28c6 Docstring updates for tests 2019-04-10 18:13:13 -07:00
Eric Torres
03af77cf92 Remove doc test run code 2019-04-10 18:04:36 -07:00
Eric Torres
0b52b75dbf Optimize imports in test classes 2019-04-10 18:03:58 -07:00
Eric Torres
666449156c Remove doctest run code 2019-04-10 18:02:06 -07:00
Eric Torres
4415a82da0 Change serialization backend from pickle to json 2019-04-10 10:23:56 -07:00
Eric Torres
ea0a629fd9 Rename README and hierarchy package to decrease verbosity 2019-04-09 19:17:09 -07:00
Eric Torres
c713cc25d7 Do not ship test suite with actual project 2019-03-31 11:21:00 -07:00
Eric Torres
aea24e2b6e Move tests package to rbackup.tests 2019-03-27 22:06:46 -07:00
Eric Torres
46aa2c44eb Cleanup tests and use class decorators in tests.test_repository 2019-03-20 00:23:25 -07:00
Eric Torres
ccccdb6b77 Allow for means of iteration through Snapshots in a Repository 2019-03-18 10:36:30 -07:00
Eric Torres
a2f8646787 Remove redundant unit tests already covered in doctests 2019-03-18 06:31:52 -07:00
Eric Torres
66ce230f40 Add pkg_dir attribute, clean up code, and update respective tests 2019-03-18 05:29:35 -07:00
Eric Torres
30cb9e03a4 Utilize pathlib over os.path for internal path handling 2019-03-17 18:22:30 -07:00
Eric Torres
41c194faad Split test_hierarchy into 3 modules and make tests a package 2019-03-16 07:46:03 -07:00
Eric Torres
bebeb63b25 Add unit tests for all classes in rbackup.hierarchy 2019-03-13 20:38:22 -07:00
Eric Torres
5b27f5c3d6 Add some unit tests for hierarchy module 2019-03-13 03:13:32 -07:00