Commit Graph

30 Commits

Author SHA1 Message Date
673b0b0187 Path remapping for packing
This commit changes how relative paths are handled depending on weather they are nested or not.

Layout is as follows.

- ./shots/01/shot_01.blend
- ./shots/01/maps/special.png
- ./maps/generic.png

Maps to...
- ./shot_01.blend
- ./_maps/special.png
- ./maps/generic.png
2014-11-26 18:47:21 +01:00
afcb6acf5d tests: quiet webserver log, generalize the blendfile deps test 2014-11-26 10:56:30 +01:00
8147461e2d tests: initial test path remapping works as expected
note, this is disabled now, will impliment and enable the test next
2014-11-25 17:16:40 +01:00
aac29c824d cleanup: pep8 2014-11-21 21:12:28 +01:00
47a6eaa936 use logging for exceptions in webserver, check BAM_VERBOSE env var 2014-11-21 20:14:58 +01:00
2c9afe8d2f refactor tests: move create into own method 2014-11-21 17:22:02 +01:00
5ab6bb7db3 use TEMP path constant 2014-11-21 15:50:06 +01:00
61062737e0 rename TEMP -> TEMP_LOCAL 2014-11-21 15:27:53 +01:00
5fd88c03cf bam cli: add ability to checkout into a named location 2014-11-21 15:26:37 +01:00
b51de97adf error in last commit 2014-11-21 12:47:37 +01:00
7c2b58caae re-work blend file testing
- dependencies are returned as a list
- improve failing to check if the blend creation worked
- add commments explaining strange workarounds
2014-11-21 12:44:55 +01:00
b6154953ad fix for deleting a non-blend file 2014-11-20 21:08:13 +01:00
29f1c3778e Fix for bam delete test. 2014-11-20 16:45:59 +00:00
c5d86eb45a print args so they can be pasted into a terminal 2014-11-20 15:36:26 +01:00
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
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
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
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