Beispiel #1
0
 def runTest(self):
     mongo_uri = "mongodb://localhost/test.modforty"
     wrapper = mongodb_input.open(mongo_uri)
     assert wrapper
     for result in wrapper:
         print result
         for key in result:
             print result[key]
         assert result
         break
Beispiel #2
0
 def runTest(self):
     mongo_uri = "mongodb://localhost/test.modforty"
     wrapper = mongodb_input.open(mongo_uri)
     assert wrapper
     for result in wrapper:
         print result
         for key in result:
             print result[key]
         assert result
         break
Beispiel #3
0
def input_stream(stream, size, url, params):
    from mongodb_input import open
    mon = open(url)
    return mon
Beispiel #4
0
def input_stream(stream, size, url, params):
    from mongodb_input import open
    mon = open(url)
    return mon