zulip/zerver/lib
Jason Michalski a22d6d2c2a test-backend: Enable test coverage in multi-process mode.
We enable data_suffix option when creating Coverage instances which
causes the output files to include the hostname, pid, and random id.
Before each run erase is called which clears all existing coverage data
files. And then at the end of the test run use the combine method which
merges the reports.

We collect coverage in the main process which collects data from
imports and also when running in single process mode. In the workers we
collect coverage in run_subsuite. This creates more stats files than
strictly required but I don't see a better place to save the stats when
stopping workers.

Note that this has the side effect of enabling parallel testing in
Travis CI.
2017-05-23 18:25:13 -07:00
..
bugdown Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
url_preview mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
webhooks webhooks/github*: Support pushing a local branch without commits. 2017-05-16 23:51:19 -02:30
__init__.py
actions.py zerver/lib/actions: Fix PEP8 E712 error. 2017-05-23 16:29:49 -07:00
alert_words.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
attachments.py Add support for managing and deleting attachments. 2017-02-16 23:44:44 -08:00
avatar.py avatar: Fix loop doing database queries in register. 2017-05-09 22:33:27 -07:00
avatar_hash.py avatar_hash: Extract user_avatar_path_from_ids. 2017-05-09 22:31:24 -07:00
bulk_create.py pep8: Add compliance with rule E261 to bulk_create.py. 2017-05-07 23:21:50 -07:00
cache.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
cache_helpers.py models: Add get_user function. 2017-05-22 11:26:44 -07:00
camo.py pep8: Add compliance with rule E261 to camo.py. 2017-05-07 23:21:50 -07:00
ccache.py pep8: Add compliance with rule E261 to ccache.py. 2017-05-07 23:21:50 -07:00
context_managers.py mypy: Change Generator[None, None, None] to Iterator[None]. 2016-11-27 10:42:16 -08:00
create_user.py Add timezone argument to do_create_user function. 2017-05-04 16:32:05 -07:00
db.py pep8: Add compliance with rule E261 to zerver/lib/db.py. 2017-05-18 03:00:32 +05:30
debug.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
digest.py pep8: Add compliance with rule E261 digest.py. 2017-05-07 23:21:50 -07:00
domains.py Add stricter domain validation and improve error messages. 2017-01-26 17:24:25 -08:00
email_mirror.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
emoji.py emoji.py: Add restriction that realm emoji must be lowercase. 2017-05-11 19:10:21 -07:00
error_notify.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
events.py zerver/lib/events: Refactor get_user_profile_by_email to get_user. 2017-05-22 17:32:36 -07:00
export.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
feedback.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
hotspots.py hotspots: Add backend support for tutorial hotspots. 2017-03-29 11:34:32 -07:00
html_diff.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
i18n.py Fix several new errors caught by mypy 0.501. 2017-03-03 14:12:52 -08:00
initial_password.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
integrations.py integrations: Fix missing links to non-webhook integrations. 2017-05-10 11:17:56 -07:00
logging_util.py Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00
mention.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
message.py pep8: Add compliance with rule E261 to zerver/lib/message.py. 2017-05-18 03:00:32 +05:30
migrate.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
mobile_auth_otp.py mobile: Add mobile one-time-pad library. 2017-04-28 11:47:35 -07:00
name_restrictions.py name_restrictions: Add a few more reserved subdomains. 2016-12-26 14:59:09 -08:00
narrow.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
notifications.py pep8: Add compliance with rule E261 to zerver/lib/notifications.py. 2017-05-18 03:00:32 +05:30
outgoing_webhook.py Outgoing Webhook System: Add DoRestCall and helper functions 2017-05-23 08:19:16 -07:00
parallel.py pep8: Add compliance with rule E261 to parallel.py. 2017-05-07 23:21:50 -07:00
push_notifications.py gcm: Increase retries to 10 while pushing. 2017-05-17 12:14:32 -07:00
queue.py pep8: Add compliance with rule E261 zerver/lib/queue.py. 2017-05-07 23:21:50 -07:00
rate_limiter.py pep8: Add compliance with rule E261 to rate_limiter.py. 2017-05-07 23:21:50 -07:00
realm_icon.py realm_icon: Use string_id instead of domain for Realm gravitar. 2017-03-13 14:28:43 -07:00
redis_utils.py settings: Add support for specifying a remote redis password. 2016-08-11 16:54:22 -07:00
request.py pep8: Add compliance with rule E261 to request.py. 2017-05-07 23:21:50 -07:00
request.pyi mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
response.py coverage: bring zerver/lib/response.py to 100% coverage. 2017-03-05 00:53:26 -08:00
rest.py pep8: Add compliance with rule E261 to rest.py. 2017-05-07 23:21:50 -07:00
retention.py Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00
send_email.py send_email.py: Remove unused get_user_profile_by_email import. 2017-05-23 15:27:21 -07:00
sessions.py pep8: Add compliance with rule E261 to sessions.py. 2017-05-07 23:21:50 -07:00
sqlalchemy_utils.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
statistics.py pep8: Add compliance with rule E261 to statistics.py. 2017-05-07 23:21:50 -07:00
str_utils.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
streams.py pep8: Add compliance with rule E261 to streams.py. 2017-05-07 23:21:50 -07:00
test_classes.py Add ZulipTestCase.example_email and ZulipTestCase.mit_email function. 2017-05-23 15:27:21 -07:00
test_fixtures.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
test_helpers.py pep8: Add compliance with rule E261 to test_helpers.py. 2017-05-18 03:00:32 +05:30
test_runner.py test-backend: Enable test coverage in multi-process mode. 2017-05-23 18:25:13 -07:00
tex.py mypy: Fix Optional typing issues in tex.py. 2017-03-23 15:49:08 -07:00
timeout.py pep8: Add compliance with rule E261 to timeout.py. 2017-05-07 23:21:50 -07:00
timestamp.py Replace timezone.utc with timezone_utc. 2017-04-16 12:28:56 -07:00
timezone.py Add timezone field in UserProfile. 2017-03-15 11:18:24 -07:00
type_debug.py pep8: Add compliance with rule E261 to type_debug.py. 2017-05-07 23:21:50 -07:00
unminify.py pep8: Add compliance with rule E261 to unminify.py. 2017-05-07 23:21:50 -07:00
upload.py Refactoring: Replace get_user_profile_by_email() in lib/upload.py 2017-05-23 12:37:49 -07:00
user_agent.py Add type annotation to mention.py, redis_utils.py, timestamp.py, user_agent.py 2016-06-03 19:00:16 -07:00
users.py users: Ban names shorter than 3 characters. 2017-05-11 19:21:51 -07:00
utils.py api: Add is_remote_server(). 2017-05-11 12:02:26 -07:00
validator.py profile: Support custom profile data. 2017-04-18 15:20:59 -07:00