Tomasz Kolek
34511065dc
Fix tests problem with backward incompatible function name.
...
Add __init__ methods to some of testing clases with overriding method name.
2016-12-16 07:04:55 -08:00
sidhant bhavnani
4634c3d656
Change call signature for users_subscribed_to_stream()
...
The function users_subscribed_to_stream() now takes realm now, instead of domain.
2016-12-05 15:46:19 -08:00
nikolay
abc2ff4a06
pep8: Fix many rule E128 violations.
...
[Tweaked by tabbott to adjust some approaches used in wrapping]
2016-12-03 13:33:31 -08:00
Rafid Aslam
c5316b4002
lint: Fix E127 pep8 violations.
...
Fix pep8: E127 continuation line over-indented for visual indent
style issue.
2016-12-01 10:23:55 -08:00
sylvan1
443cf92640
mypy: Change Generator[None, None, None] to Iterator[None].
...
Fixes #1648 .
2016-11-27 10:42:16 -08:00
Tim Abbott
3d1bcb05e1
tornado: Move event_queue.py to zerver/tornado/.
...
Fixes #729 .
2016-11-26 22:29:28 -08:00
Tim Abbott
169d404579
tornado: Move zerver.lib.handlers into zerver.tornado.handlers.
...
This cleans up the confusingly duplicated file names, while also
moving more of the Tornado-specific code under zerver/tornado/.
2016-11-26 22:29:28 -08:00
Rishi Gupta
4b183cd526
domain migration: Remove several instances of get_realm.
...
Remove the easy to remove instances of get_realm.
2016-11-26 15:19:56 -08:00
Calvin Lee
7a3ef2b0eb
tests: Add assert_in_success_response in ZulipTestCase.
...
Clean up the instances of self.assertIn("string", result.content.decode("utf-8")),
and replace them with self.assert_in_response("string").
Fixes : #2313
2016-11-26 14:52:44 -08:00
Steve Howell
1527823b9f
code cleanup: Remove some unused variables in test classes.
2016-11-26 09:52:37 -08:00
Steve Howell
3a8282ff44
Add test coverage for /notify_tornado.
...
We now have test coverage for all of our endpoints.
2016-11-17 10:11:46 -08:00
Rishi Gupta
c1713c9659
Prevent code from using email domain to determine realm when subdomains.
...
Also removes the intermediate step of going through Realm.domain in the
non-subdomains case. Part of a larger project to remove Realm.domain
entirely.
2016-11-11 15:26:51 -08:00
sinwar
4582a98c09
tests: Split out ZulipTestCase and WebhookTestCase to a separate file.
...
Fixes #1671 .
2016-11-10 19:29:43 -08:00