Commit Graph

195 Commits

Author SHA1 Message Date
84dba94c4d Update to test_delete 2014-11-20 12:44:14 +01:00
657ce905f5 tests: populating svn failed, was using wrong paths
now all 6 tests pass
2014-11-20 12:30:04 +01:00
79cb22fe14 File removal on svn 2014-11-20 12:29:29 +01:00
c29b4707cc Logging module in bam.py 2014-11-20 12:26:10 +01:00
7721ab352f Test for file removal 2014-11-20 12:25:02 +01:00
d0491344db mistake in last commit. also better asserts when setUp fails 2014-11-20 11:54:33 +01:00
e256506bf1 add: run_check() to tests, so we get a warning on nonzero returncodes 2014-11-20 11:36:31 +01:00
d914a7b9a5 add testing for blend-files 2014-11-19 20:35:31 +01:00
f58b7ecf5f print output of run() 2014-11-19 19:06:42 +01:00
d022551e1d testing: tweaks so test now passes 2014-11-19 16:41:22 +01:00
e5a6613cc6 bam cli: correct arg handling 2014-11-19 16:40:39 +01:00
1b5568256c support for checking out non-blend files 2014-11-19 16:39:06 +01:00
a5646eeeb9 give better exceptions when the file type isnt a GZIP or a Blend 2014-11-19 16:31:26 +01:00
49e3c1e181 raise an exception when the file isn't a blend 2014-11-19 16:27:11 +01:00
0a2b4886c1 Improve tests
- enable logging when VERBOSE is set
- now possible to run single tests from the commandline
- include a test for commit and checkout
2014-11-19 14:15:43 +01:00
b404a22843 bam cli: commit ignored new files 2014-11-18 17:37:20 +01:00
595997f02b monkey patch argparse.ArgumentParser.exit so it doesn't break tests
also ensure we get real output on sys.exit if its called when stdout/err is overridden
2014-11-18 13:50:29 +01:00
1240e2a23d cleanup 2014-11-18 11:58:04 +01:00
20d51d0dba Test repo population 2014-11-14 17:55:30 +01:00
29b10c260b Cleanup: ws & ignore errors removing a dir 2014-11-14 17:08:13 +01:00
70b27732c0 Introducing a real testing server 2014-11-14 17:01:40 +01:00
dc25925a3c Test command descriptions 2014-11-14 12:28:05 +01:00
84d49e7681 Add initial test 2014-11-14 12:16:13 +01:00
2542aa9aa8 bam cli: add --json argument 2014-11-13 19:19:36 +01:00
c4b07d2962 Removed unneeded model constraint 2014-11-13 19:18:15 +01:00
45b6afc30c bam cli: Accept argv from another script (for testing) 2014-11-12 14:22:40 +01:00
e8dab60b68 Add path operation json file 2014-11-12 12:23:43 +01:00
064421ab1b add libs to UUID list 2014-11-07 17:40:38 +01:00
722d29c931 bam cli: fix for recent commit 2014-11-07 16:59:32 +01:00
2fdc73de76 temp disable library check, need to investigate this more 2014-11-07 16:58:08 +01:00
536378ed4a bam cli: hard coded bamignore 2014-11-07 15:41:15 +01:00
08bc95906a fallback to username on bam init 2014-11-07 15:37:28 +01:00
c853bd71ab Committing using the actual user name 2014-11-07 15:19:12 +01:00
a8c8685b0d bam cli: add bam status 2014-11-07 15:18:20 +01:00
d2611cd979 Server settings for svn commits 2014-11-07 12:14:26 +01:00
5601ad297f Clenaup: help no own line 2014-11-07 11:40:17 +01:00
70d5b7aa2f bam cli: add sessions 'create' subcommand 2014-11-07 11:39:36 +01:00
703bf153c5 ensure temp dir exists 2014-11-07 11:37:45 +01:00
81d9dca264 bam cli: Keep track of files to remove 2014-11-06 19:47:04 +01:00
23d32e18ef bam cli: print error if this already exists 2014-11-06 19:01:51 +01:00
d59ea54dd3 add simple fatal function 2014-11-06 18:44:42 +01:00
a983d3bd3b minor renaming 2014-11-06 18:41:09 +01:00
301abd641c bam cli: give useful message when bam ls fails 2014-11-06 18:32:01 +01:00
9e49a94750 missing newline in last commit 2014-11-06 18:10:10 +01:00
f1da558a3e comment pack_fn 2014-11-06 17:45:51 +01:00
7dd4fadce0 *picky* use dict literal 2014-11-06 17:42:35 +01:00
dec05c6d4e ensure the destination path exists before moving 2014-11-06 17:41:51 +01:00
34fea3a2cc bam cli: nice warning when running outside of a project 2014-11-06 17:34:20 +01:00
9ed25c4ff9 Assert for existing file 2014-11-06 16:47:16 +01:00
dd029cde40 Add files now remapps to absolute path on commit 2014-11-06 16:19:38 +01:00