Commit Graph

45 Commits

Author SHA1 Message Date
fe3c51401a update test for absolute/relative paths 2014-12-03 14:02:12 +01:00
88021db1a1 linking example files (relative and absolute paths) 2014-12-03 11:22:59 +01:00
fa31b285fe tests: add a test that checks new files are added at the correct directory 2014-12-02 17:04:32 +01:00
0a503a42d6 Fix to tests comment 2014-12-02 15:42:50 +01:00
60f47d2d38 cleanup 2014-12-02 13:52:29 +01:00
1cd189ec18 cleanup: use a tuple for ignore data 2014-11-28 14:59:13 +01:00
b5ef800f5b Commits now update the sha1's so we know the data is changed 2014-11-28 14:53:17 +01:00
301582e4b7 tests: add convenience function to run bam and get json output 2014-11-28 12:45:46 +01:00
72ecb1ca5a Test for broken regex in bamignore 2014-11-28 12:45:00 +01:00
7faf554cdd Support for .bamignore on the client side 2014-11-28 12:45:00 +01:00
3e846a8127 test for linked blendfile writing 2014-11-28 12:45:00 +01:00
13993426ac Get blender binary from evn if set 2014-11-27 15:06:38 +01:00
85fd8513ae cleanup 2014-11-27 13:10:40 +01:00
4aabfb09dc support passing arguments to template create commands 2014-11-27 12:51:04 +01:00
d99d9e1adf re-work packer so absolute paths have '_' prefix. 2014-11-27 12:32:41 +01:00
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