Skip to content

wrong asserts for callback #90

Description

@fleonis

hello

it seems wrong to test like this

self.assertTrue('"callback" parameter required' in r.body)

the body should content something like this

c["\"callback\" parameter required"]

or like this

p("c[\"\"callback\" parameter required\"]");

so?

and test fails

Activity

  1. brycekahle commented on Nov 17, 2015

    @brycekahle
    Contributor

    Which test? Can you link to a line?

  2. fleonis commented on Nov 18, 2015

    @fleonis
    Author

    self.assertTrue('invalid "callback" parameter' in r.body)

    self.assertTrue('"callback" parameter required' in r.body)

    self.assertTrue('invalid "callback" parameter' in r.body)

    self.assertTrue('"callback" parameter required' in r.body)

    but may be more.. i cannot test it for now

    and i mean the body

    c["\"callback\" parameter required"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions