Vishnu Ks
c4af0b7bc4
mattermost: Support importing messages without team name.
...
Mattermost doesn't place private messages within a particular team,
which is what this is needed for.
2019-09-18 11:57:37 -07:00
Vishnu Ks
bf5f531e90
import_util: Support huddles in SubscriberHandler.
2019-09-18 11:53:13 -07:00
Vishnu KS
30440cf466
mattermost: Fix test flake in test_convert_channel_data.
...
So the reason 38f8cf612c
seems
to be flaking is because the value of harry id switches between
1 and 2 in Xenial while in Bionic it would be fixed at 2. The
reason behind this is that Bionic ships with Python3.6 which
preserves dict insert order while Python3.5 that ships with Xenial
dont preserve the order. In initialize_stream_membership_dicts
we iterate user_data_map dict and the order in which the iteration
happens affects the ID of the users.
2019-09-05 11:20:33 -07:00
Wyatt Hoodes
fc2574fdfd
test_mattermost_importer: Add test coverage.
...
This is a rebase from a recent revert. A test
was failing non-deterministically relating to
`convert_channel_data` and use of an incorrect
`realm_id`.
2019-09-03 12:36:41 -07:00
Tim Abbott
d0d16ed81c
Revert "test_mattermost_importer: Fix missing coverage."
...
This reverts commit c48e53f587
.
This new test code had nondeterministic failures; reverting so we can
debug without disruption.
2019-08-21 11:20:20 -07:00
Wyatt Hoodes
c48e53f587
test_mattermost_importer: Fix missing coverage.
2019-08-20 15:23:41 -07:00
Vishnu Ks
68387b9f00
tests: Move get_set to ZulipTestCase.
2019-05-21 14:10:29 -07:00
Vishnu Ks
176d37a513
tests: Make tests work in reverse order in mattermost_importer.
2019-05-04 08:49:34 -07:00
Tim Abbott
5cddf07361
test_mattermost_importer: Fix buggy use of wrong paths.
...
This worked for me when testing locally because it was using a
constant path, and so was accessing the product under `var/` of the
previous test run.
2019-05-03 13:30:54 -07:00
Vishnu Ks
02c92e55a2
import: Add tool for importing teams from mattermost.
2019-04-05 17:53:03 -07:00