aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/runtests.jl5
-rw-r--r--test/test_pyrecwrap.jl4
2 files changed, 9 insertions, 0 deletions
diff --git a/test/runtests.jl b/test/runtests.jl
index d0bb3c7..c4beb52 100644
--- a/test/runtests.jl
+++ b/test/runtests.jl
@@ -3,8 +3,13 @@ println("Importing libs...")
include("../src/PyX.jl")
using PyX
using LaTeXStrings
+using PyCall
using Base.Test
+##### Helpers
+println("Testing helpers...")
+include("test_pyrecwrap.jl")
+
##### Setup Common Objects
println("Creating test objects...")
include("test_objects.jl")
diff --git a/test/test_pyrecwrap.jl b/test/test_pyrecwrap.jl
new file mode 100644
index 0000000..cef3f08
--- /dev/null
+++ b/test/test_pyrecwrap.jl
@@ -0,0 +1,4 @@
+
+os_test = PyX.pyrecwrap(pyimport("os"))
+@test os_test.path.genericpath.os.path.genericpath.os.path.genericpath != nothing
+