         cb: ->
             test.ok(true)  # connected
             conn.send(message.start_session(limits:{walltime:10}))
-            
+

message = require("message")

exports.test_2plus2 = (test) ->
    test.expect(7)

    pid = null
    conn = new sage.Connection
        host: HOST
        port: PORT
        recv: (mesg) ->
            switch mesg.event
                when "session_description"
                    test.ok(mesg.pid?, "got back a pid")

####################################################
#
# Test NodeJS TCP interface to a sage_server
#
# ASSUMPTION: there is a TCP sage server on localhost, port 6000
