summaryrefslogtreecommitdiffstats
path: root/test_dotfiles.py
AgeCommit message (Collapse)AuthorFilesLines
2014-07-07Move tests into a directoryGravatar Jon Bernard 1-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 testGravatar Alexandre Viau 1-2/+2
In reference to #33.
2014-05-27Add test for syncing packages with a non-default prefixGravatar Jon Bernard 1-0/+28
This test currently fails because of a bug. In reference to #33.
2014-01-01Add unit test for adding a missing packageGravatar Jon Bernard 1-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 testGravatar Jon Bernard 1-0/+4
Re: #25
2013-12-17Add unit test for removing a dotfile with a missing targetGravatar Jon Bernard 1-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 onGravatar Jay Sweeney 1-0/+9
2013-11-07Fix unit tests to exit with the correct return codeGravatar Jon Bernard 1-5/+1
2013-11-07Add unit test for single-sync featureGravatar Jon Bernard 1-0/+47
2013-11-07Add a unit test for non-existent package directoriesGravatar Jon Bernard 1-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 typoGravatar Jesús García Crespo 1-2/+2
2013-02-09typo in testGravatar Luper Rouch 1-1/+1
2013-02-09added packages testsGravatar Luper Rouch 1-0/+51
2013-02-09fixed testsGravatar Luper Rouch 1-4/+9
2012-03-08Make source compatible with Python 3Gravatar Daniel Harding 1-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'Gravatar Jon Bernard 1-1/+1
2011-11-01Add support for in-repo configuration filesGravatar Jon Bernard 1-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 compatibleGravatar Remco Wendt 1-0/+2
2011-10-23Refactored tests to use an assertPathEqualsGravatar Remco Wendt 1-22/+23
2011-10-24Added glob style pattern support for the ignore optionGravatar Remco Wendt 1-2/+2
2011-10-23Added unit test for glob pattern, which fail horribly yay!Gravatar Remco Wendt 1-0/+60
2011-10-23Fixed unit tests for use on mac, since /tmp is a symlink to /private/tmpGravatar Remco Wendt 1-5/+6
2011-10-05Fix bug when syncing an unmanaged directory symlinkGravatar Jon Bernard 1-2/+37
Closes #2
2011-08-27Add unit tests for recent bugfix and move operationGravatar Jon Bernard 1-0/+85