flake8

authorArthur Lutz <arthur.lutz@logilab.fr>
changeset0316c2bedc05
branchdefault
phasedraft
hiddenyes
parent revision#5b23bcf3be29 [views] add max pagination (avoid elasticsearch crash)
child revision<not specified>
files modified by this revision
ccplugin.py
test/test_compose_search.py
test/test_parents.py
# HG changeset patch
# User Arthur Lutz <arthur.lutz@logilab.fr>
# Date 1484652644 -3600
# Tue Jan 17 12:30:44 2017 +0100
# Node ID 0316c2bedc0548de331b1cae72e15681fed6edb1
# Parent 5b23bcf3be2924617b75ecb1daa2bfe0e2043155
flake8

diff --git a/ccplugin.py b/ccplugin.py
@@ -104,6 +104,7 @@
1                      yield data
2 
3      def customize_data(self, data):
4          pass
5 
6 +
7  CWCTL.register(IndexInES)
diff --git a/test/test_compose_search.py b/test/test_compose_search.py
@@ -61,7 +61,8 @@
8          # Q('multi_match', query='this', fields=())]).to_dict())
9 
10      def test_or_on_its_own(self):
11          self.assertTrue(self.compose_search('or').to_dict())
12 
13 +
14  if __name__ == '__main__':
15      unittest.main()
diff --git a/test/test_parents.py b/test/test_parents.py
@@ -94,8 +94,9 @@
16              indexer = cnx.vreg['es'].select('indexer', cnx)
17              es = indexer.get_connection()
18              es.indices.delete(self.config['index-name'])
19          super(ParentsSearchTC, self).tearDown()
20 
21 +
22  if __name__ == '__main__':
23      from logilab.common.testlib import unittest_main
24      unittest_main()