aboutsummaryrefslogtreecommitdiff
path: root/test_dotfiles.py
AgeCommit message (Collapse)AuthorLines
2016-01-08Remove home directory cli optionJon Bernard-4/+5
2016-01-06Fix tests to match recent changesJon Bernard-13/+58
2016-01-05Rename sync/unsync to link/unlinkJon Bernard-4/+4
I think this naming is more appropriate and intuitive
2016-01-04Merge list into status and remove verboseJon Bernard-33/+3
2016-01-04Add test for repository expected nameJon Bernard-3/+4
2016-01-04Remove unique_suffix function, not neededJon Bernard-17/+1
2016-01-04Use click decorator for version optionJon Bernard-6/+0
2016-01-03Add cli testsJon Bernard-0/+36
2016-01-03Use test fixtures and some cleanupJon Bernard-166/+71
2016-01-03Consolidate tests into a single fileJon Bernard-0/+234
2014-07-07Move tests into a directoryJon Bernard-390/+0
I'm hoping to add more tests for specific features and break then into separate files so things are a bit easier to manage.
2014-05-29Correct logic in package prefix testAlexandre Viau-2/+2
In reference to #33.
2014-05-27Add test for syncing packages with a non-default prefixJon Bernard-0/+28
This test currently fails because of a bug. In reference to #33.
2014-01-01Add unit test for adding a missing packageJon Bernard-0/+23
This fails because the add operation is not aware of package settings, and therefore adds a package dotfiles as it normally would - as a toplevel symlink. The problem arises when a user attempts to sync and the expected symlink layout is not as it should be. With the force option, this can lead to deleted files with no way to recover. Re #20, #27
2013-12-17Verify symlink removal in unit testJon Bernard-0/+4
Re: #25
2013-12-17Add unit test for removing a dotfile with a missing targetJon Bernard-0/+21
If the remove operation is issued on a dotfile pointing to a target that's already been removed from the repository, then the symlink should just be removed quietly. Re: #25
2013-11-09Fixes #22: Ensure --force option is handed onJay Sweeney-0/+9
2013-11-07Fix unit tests to exit with the correct return codeJon Bernard-5/+1
2013-11-07Add unit test for single-sync featureJon Bernard-0/+47
2013-11-07Add a unit test for non-existent package directoriesJon Bernard-0/+21
If a package is defined in .dotfilesrc and the package directory doesn't exist in the repository when you attempt to add it, an IOError exception is thrown. This test captures the failing scenario. In reference to #17.
2013-11-07Remove unneeded whitespaces and fix typoJesús García Crespo-2/+2
2013-02-09typo in testLuper Rouch-1/+1
2013-02-09added packages testsLuper Rouch-0/+51
2013-02-09fixed testsLuper Rouch-4/+9
2012-03-08Make source compatible with Python 3Daniel Harding-1/+1
Replaced a few Python 2-only idioms with equivalents that work in both Python 2 and Python 3.
2012-01-08Update remaining references to 'unmanaged'Jon Bernard-1/+1
2011-11-01Add support for in-repo configuration filesJon Bernard-31/+32
In addition to parsing .dotfilesrc in the user's home directory, also look for that file inside the repository. This allows you to keep your repository and it's settings together. Closes: #1
2011-10-24Made dotfiles python2.5 compatibleRemco Wendt-0/+2
2011-10-23Refactored tests to use an assertPathEqualsRemco Wendt-22/+23
2011-10-24Added glob style pattern support for the ignore optionRemco Wendt-2/+2
2011-10-23Added unit test for glob pattern, which fail horribly yay!Remco Wendt-0/+60
2011-10-23Fixed unit tests for use on mac, since /tmp is a symlink to /private/tmpRemco Wendt-5/+6
2011-10-05Fix bug when syncing an unmanaged directory symlinkJon Bernard-2/+37
Closes #2
2011-08-27Add unit tests for recent bugfix and move operationJon Bernard-0/+85