summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-08 18:12:15 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-08 18:12:15 +0000
commitbe070a4a495b3fad1cefe4263e3fb1e1afaff812 (patch)
tree75e4ca16edf72276d089fb382d6b585606a9bfc3 /test.py
parent2204a1810461c087ed85d0f5f0ea93134c0b7ada (diff)
Partial work on deps.better-deps
Diffstat (limited to 'test.py')
-rw-r--r--test.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..5ad5b47
--- /dev/null
+++ b/test.py
@@ -0,0 +1,10 @@
+import imp
+import sys
+
+cdist = imp.load_source("cdist", "cdist")
+
+target = cdist.SourceTarget()
+tree = cdist.Tree('dcpomatic', 'master', target)
+
+assert(cdist.union(None, None, tree) is None)
+print cdist.union('master', 'master', tree)