~crossbar/crossbar/trunk

« back to all changes in this revision

Viewing changes to crossbar/adapter/rest/test/test_caller.py

  • Committer: Tobias Oberstein
  • Date: 2015-08-08 17:33:16 UTC
  • mfrom: (768.1.43)
  • Revision ID: git-v1:d3b417ac7448176393afb2435b1d90669b6e629d
Merge pull request #380 from hawkowl/clitests

Test the CLI + make sure file logging actually works (especially on Py3) + make the CLI logger start on all functions

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
 
135
135
        self.assertEqual(request.code, 400)
136
136
        self.assertIn(
137
 
            b"invalid request event - HTTP/POST body must be valid JSON: "
138
 
            b"No JSON object could be decoded",
 
137
            b"invalid request event - HTTP/POST body must be valid JSON: ",
139
138
            request.getWrittenData())