Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix) flake tests #107

Merged
merged 4 commits into from
Sep 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: python

python: 3.5

dist: trusty
dist: xenial
sudo: required

env:
Expand Down
2 changes: 2 additions & 0 deletions server/analytics/base_report/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from superdesk.utils import ListCursor
from superdesk.utc import utcnow, get_timezone_offset
from superdesk.errors import SuperdeskApiError
from superdesk.es_utils import REPOS

from apps.search import SearchService

Expand All @@ -27,6 +28,7 @@ class BaseReportService(SearchService):
histogram_source_field = 'versioncreated'

defaultConfig = {}
repos = REPOS

def get_stages_to_exclude(self):
"""
Expand Down
1 change: 1 addition & 0 deletions server/analytics/commands/send_scheduled_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class SendScheduledReports(Command):

$ python manage.py analytics:send_scheduled_reports
$ python manage.py analytics:send_scheduled_reports --now

"""

option_list = [
Expand Down
1 change: 1 addition & 0 deletions server/analytics/stats/gen_archive_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class GenArchiveStatistics(Command):
connect_stats_signals(on_generate, on_init_timeline, on_process, on_complete)
# or by key values
connect_stats_signals(on_process=on_process_stats)

"""

option_list = [
Expand Down
1 change: 1 addition & 0 deletions server/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ requests-mock
coverage==4.3.4
coveralls
httmock>=1.2.3,<1.3
responses>=0.10.6,<0.11

-e git://github.com/superdesk/superdesk-core.git@develop#egg=Superdesk_Core
git+git://github.com/superdesk/superdesk-planning.git@master#egg=superdesk-planning