From b5d573a2e75a2fa31c60ea641cb38d2464d3156e Mon Sep 17 00:00:00 2001 From: Jacopo Notarstefano Date: Mon, 30 Apr 2018 22:47:14 +0200 Subject: [PATCH] 616 tests: remove unused small_app fixture Signed-off-by: Jacopo Notarstefano --- .../demosite/data/demo-records-small.xml | 344 ------------------ tests/integration/conftest.py | 32 -- 2 files changed, 376 deletions(-) delete mode 100644 inspirehep/demosite/data/demo-records-small.xml diff --git a/inspirehep/demosite/data/demo-records-small.xml b/inspirehep/demosite/data/demo-records-small.xml deleted file mode 100644 index b1be2f64d9..0000000000 --- a/inspirehep/demosite/data/demo-records-small.xml +++ /dev/null @@ -1,344 +0,0 @@ - - - 4328 - 20160616175844.0 - - DOI - 10.1016/0029-5582(61)90469-2 - - - D82-03581 - DESY - - - Glashow:1961tr - SPIRESTeX - - - Glashow, S.L. - INSPIRE-00085173 - Copenhagen U. - - - Partial Symmetries of Weak Interactions - - - 1961 - - - 10 - - - Weak and electromagnetic interactions of the leptons are examined under the hypothesis that the weak interactions are mediated by vector bosons. With only an isotopic triplet of leptons coupled to a triplet of vector bosons (two charged decay-intermediaries and the photon) the theory possesses no partial-symmetries. Such symmetries may be established if additional vector bosons or additional leptons are introduced. Since the latter possibility yields a theory disagreeing with experiment, the simplest partially-symmetric model reproducing the observed electromagnetic and weak interactions of leptons requires the existence of at least four vector-boson fields (including the photon). Corresponding partially-conserved quantities suggest leptonic analogues to the conserved quantities associated with strong interactions: strangeness and isobaric spin. - Elsevier - - - INSPIRE - Phenomenology-HEP - automatically added based on DCC, PPF, DK - - - Published - INSPIRE - - - ELECTROWEAK INTERACTION - INSPIRE - - - COUPLING: YUKAWA - INSPIRE - - - YUKAWA: COUPLING - INSPIRE - - - CURRENT: CONSERVATION LAW - INSPIRE - - - PARITY: VIOLATION - INSPIRE - - - VIOLATION: PARITY - INSPIRE - - - GAUGE BOSON - INSPIRE - - - INVARIANCE: CP - INSPIRE - - - Nucl.Phys. - 22 - 579-588 - 1961 - - - Nucl. Phys. 22 (1961) 579-588 - - - Also in *Lai, C. H. (Ed.): Gauge Theory Of Weak and Electromagnetic Interactions*, 171-180 - - - oai:inspirehep.net:4328 - INSPIRE:HEP - - - 1982 - - - 2011-07-15 - - - SPIRES-154008 - - - Published - - - Citeable - - - CORE - - - HEP - - - - 11883 - 20160616172601.0 - - DOI - 10.1103/PhysRevLett.13.508 - - - D81-07935 - DESY - - - Higgs:1964pj - SPIRESTeX - - - ADS - 1964PhRvL..13..508H - - - Higgs, Peter W. - Edinburgh U. - - - Broken Symmetries and the Masses of Gauge Bosons - - - BROKEN SYMMETRIES AND THE MASSES OF GAUGE BOSONS. - arXiv - - - 1964-10 - - - 2 - - - INSPIRE - Theory-HEP - automatically added based on DCC, PPF, DK - - - Published - INSPIRE - - - FIELD THEORY: GOLDSTONE THEOREM - INSPIRE - - - SPONTANEOUS SYMMETRY BREAKING - INSPIRE - - - GAUGE FIELD THEORY - INSPIRE - - - GAUGE BOSON: MASS - INSPIRE - - - MASS: GAUGE BOSON - INSPIRE - - - GAUGE FIELD THEORY: SU(3) - INSPIRE - - - Phys.Rev.Lett. - 13 - 508-509 - 1964 - - - Phys. Rev. Lett. 13 (1964) 508-509 - - - Also in *Lichtenberg, D. B. (Ed.), Rosen, S. P. (Ed.): Developments In The Quark Theory Of Hadrons, Vol. 1*, 155-156 - - - In *Taylor, J.C. (ed.): Gauge theories in the twentieth century* 160-161 - - - oai:inspirehep.net:11883 - INSPIRE:HEP - CDS - - - 1981 - - - 2007-09-20 - - - SPIRES-890260 - - - Published - - - Citeable - - - CORE - - - HEP - - - Phys.Lett.,12,132 - - - Nuovo Cim.,19,154 - - - Phys.Rev.,127,965 - - - Phys.Rev.,130,439 - - - Phys.Rev.Lett.,13,321 - - - Annals Phys.,15,437 - - - Phys.Rev.,134,B671 - - - Phys.Rev.Lett.,11,42 - - - Phys.Rev.Lett.,13,42 - - - - 1358492 - 20150504123313.0 - - DOI - WSP - 10.1142/S0217751X15300215 - - - INSPIRETeX - Higgs:2015spa - - - DESY - DA15-kp16q - - - Higgs, Peter - Edinburgh U. - University of Edinburgh, Edinburgh, United Kingdom - - - Evading the Goldstone Theorem - - - 2015-02-01 - published - - - 4 - - - The Nobel Foundation - Article - 2015 - - - INSPIRE - Phenomenology-HEP - - - INSPIRE - history - - - INSPIRE - Goldstone theorem - - - INSPIRE - Higgs model - - - INSPIRE - Higgs particle - - - INSPIRE - gauge boson: mass - - - INSPIRE - standard model - - - INSPIRE - electroweak interaction: spontaneous symmetry breaking - - - 1530021 - 04n05 - Int.J.Mod.Phys. - A30 - 2015 - - - oai:inspirehep.net:1358492 - INSPIRE:HEP - - - HEP - - - Published - - - CORE - - - Citeable - - - \ No newline at end of file diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 334798d82d..d6bac23ca8 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -114,38 +114,6 @@ def isolated_app(app): db.session.rollback() -@pytest.fixture(scope='module') -def small_app(): - """Flask application with few records and module scope. - - .. deprecated:: 2017-09-18 - Use ``app`` instead. - """ - app = create_app() - app.config.update({'DEBUG': True}) - - with app.app_context(): - # Celery task imports must be local, otherwise their - # configuration would use the default pickle serializer. - from inspirehep.modules.migrator.tasks import migrate - - db.drop_all() - db.create_all() - - _es = app.extensions['invenio-search'] - list(_es.delete(ignore=[404])) - list(_es.create(ignore=[400])) - - init_all_storage_paths() - init_users_and_permissions() - init_collections() - - migrate('./inspirehep/demosite/data/demo-records-small.xml', wait_for_results=True) - es.indices.refresh('records-hep') - - yield app - - @pytest.fixture() def app_client(app): """Flask test client for the application.