Anders Kaseorg
c734bbd95d
python: Modernize legacy Python 2 syntax with pyupgrade.
...
Generated by `pyupgrade --py3-plus --keep-percent-format` on all our
Python code except `zthumbor` and `zulip-ec2-configure-interfaces`,
followed by manual indentation fixes.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com >
2020-04-09 16:43:22 -07:00
Anders Kaseorg
39f9abeb3f
python: Convert json.loads(f.read()) to json.load(f).
...
Signed-off-by: Anders Kaseorg <anders@zulipchat.com >
2020-03-24 10:46:32 -07:00
Wyatt Hoodes
e3595e4b3f
test_slack_message_conversion: Use subTest for fixtures test.
2019-09-13 11:54:14 -07:00
Vishnu Ks
1e5c49ad82
slack: Support importing shared channels.
2019-08-26 14:10:19 -07:00
Wyatt Hoodes
e331a758c3
python: Migrate open statements to use with.
...
This is low priority, but it's nice to be consistently using the best
practice pattern.
Fixes : #12419 .
2019-07-20 15:48:52 -07:00
Anders Kaseorg
643bd18b9f
lint: Fix code that evaded our lint checks for string % non-tuple.
...
Signed-off-by: Anders Kaseorg <anders@zulipchat.com >
2019-04-23 15:21:37 -07:00
Anders Kaseorg
3127fb4dbd
zerver/tests: Remove unused imports.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2019-02-02 17:43:03 -08:00
Rhea Parekh
b8e1e8b31d
import: Add slack import files in zerver/data_import directory.
2018-08-01 11:52:14 -07:00
Aditya Bansal
2f3b2fbf59
zerver/tests: Change use of typing.Text to str.
2018-05-10 14:19:49 -07:00
Preston Hansen
76d6c71595
tests: Move zerver/fixtures to zerver/tests/fixtures for clarity.
...
Fixes #9153 .
2018-04-19 21:50:17 -07:00
rht
7a8655cc50
Slack importer: Add test for Slack channel mention to Zulip stream mention.
2018-04-09 10:47:39 -07:00
Rhea Parekh
811294c6cc
slack importer: Add test for checking link in message conversion.
2018-02-05 14:46:39 -08:00
Rhea Parekh
138aba3d89
slack importer: Add unit tests for slack message conversions.
2018-01-17 09:38:53 -05:00