Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

version++

  • Loading branch information...
commit fd4038bdd5a06434207d1470fa0aaaca4aee6287 1 parent 8b860e6
@ggaughan authored
Showing with 15 additions and 27 deletions.
  1. +1 −1  compile.py
  2. +14 −26 test/testbasics.py
View
2  compile.py
@@ -26,7 +26,7 @@
Licence: see LICENCE file
"""
-__version__ = "0.9.2"
+__version__ = "0.9.3"
from optparse import OptionParser
import fileinput
View
40 test/testbasics.py
@@ -133,19 +133,6 @@ def test_urlbuilder_loop(self):
self.assertTrue(count > 0)
- def test_twitter_caption_search(self):
- """Loads the Twitter Caption Search pipeline and compiles and executes it to check the results
- """
- pipe_def = self._get_pipe_def("pipe_eb3e27f8f1841835fdfd279cd96ff9d8.json")
- p = pipe2py.compile.parse_and_build_pipe(self.context, pipe_def)
-
- #todo: check the data!
- count = 0
- for i in p:
- count += 1
-
- self.assertTrue(count > 0)
-
def test_loop_example(self):
"""Loads the loop example pipeline and compiles and executes it to check the results
"""
@@ -411,19 +398,6 @@ def test_submodule_loop(self):
finally:
os.remove("%s.py" % name)
- def test_complex_datebuilding(self):
- """Loads a pipeline containing a datebuilder with complex inputs
- """
- pipe_def = self._get_pipe_def("pipe_bd9c0c9793ccaec7582b19f45e24f2e6.json")
- p = pipe2py.compile.parse_and_build_pipe(self.context, pipe_def)
-
- count = 0
- for i in p:
- count += 1
- #todo: check the data!
-
- self.assertTrue(count > 0)
-
def test_loops_1(self):
"""Loads a pipeline containing a loops
"""
@@ -508,6 +482,20 @@ def test_fetchpage_loop(self):
#todo: check the data!
self.assertTrue(count > 0)
+
+ def test_split(self):
+ """Loads an example pipeline containing a split module
+ """
+ pipe_def = self._get_pipe_def("pipe_QMrlL_FS3BGlpwryODY80A.json")
+ p = pipe2py.compile.parse_and_build_pipe(self.context, pipe_def)
+
+ count = 0
+ for i in p:
+ count += 1
+ #todo: check the data!
+
+ #todo? self.assertTrue(count > 0)
+
#todo test malformed pipeline syntax too
Please sign in to comment.
Something went wrong with that request. Please try again.