Skip to content

Commit

Permalink
Testing: Remove unnecessary class parentheses; rucio#6538
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio committed Mar 18, 2024
1 parent a751689 commit b9821d2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/rucio/common/plugins.py
Expand Up @@ -23,7 +23,7 @@
PolicyPackageAlgorithmsT = TypeVar('PolicyPackageAlgorithmsT', bound='PolicyPackageAlgorithms')


class PolicyPackageAlgorithms():
class PolicyPackageAlgorithms:
"""
Base class for Rucio Policy Package Algorithms
Expand Down
2 changes: 1 addition & 1 deletion lib/rucio/core/rse_selector.py
Expand Up @@ -27,7 +27,7 @@
from sqlalchemy.orm import Session


class RSESelector():
class RSESelector:
"""
Representation of the RSE selector
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/rucio/daemons/c3po/collectors/jedi_did.py
Expand Up @@ -17,7 +17,7 @@
from rucio.db.sqla.session import read_session


class JediDIDCollector():
class JediDIDCollector:
def __init__(self, queue):
self.queue = queue
self.max_tid = 0
Expand Down
2 changes: 1 addition & 1 deletion tests/test_abacus_account.py
Expand Up @@ -26,7 +26,7 @@


@pytest.mark.noparallel(reason='uses daemon, failing in parallel to other tests, updates account')
class TestAbacusAccount2():
class TestAbacusAccount2:

def test_abacus_account(self, vo, root_account, mock_scope, rse_factory, did_factory, rucio_client):
""" ABACUS (ACCOUNT): Test update of account usage """
Expand Down
2 changes: 1 addition & 1 deletion tests/test_abacus_collection_replica.py
Expand Up @@ -28,7 +28,7 @@


@pytest.mark.noparallel(reason='uses daemons, fails when run in parallel')
class TestAbacusCollectionReplica():
class TestAbacusCollectionReplica:

def test_abacus_collection_replica_cleanup(self, vo, mock_scope, rse_factory, did_client, jdoe_account):
""" ABACUS (COLLECTION REPLICA): Test if the cleanup procedure works correctly. """
Expand Down
2 changes: 1 addition & 1 deletion tests/test_abacus_rse.py
Expand Up @@ -23,7 +23,7 @@


@pytest.mark.noparallel(reason='uses daemon, failing in parallel to other tests')
class TestAbacusRSE():
class TestAbacusRSE:

def test_abacus_rse(self, vo, mock_scope, rse_factory, did_factory, rucio_client):
""" ABACUS (RSE): Test update of RSE usage. """
Expand Down
2 changes: 1 addition & 1 deletion tests/test_auditor.py
Expand Up @@ -106,7 +106,7 @@ def test_auditor_check_survives_failures_and_queues_failed_rses(mock_auditor):
lambda: None,
)

class MockMultiProcessing():
class MockMultiProcessing:
def is_set(self):
return queue.empty()
terminate = MockMultiProcessing()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_module_import.py
Expand Up @@ -15,7 +15,7 @@
from rucio.common.utils import execute


class TestModuleImport():
class TestModuleImport:
def test_import(self):
""" """
cmd = 'rucio --version'
Expand Down
2 changes: 1 addition & 1 deletion tools/monitoring/extract.py
Expand Up @@ -28,7 +28,7 @@
import stomp


class ElasticConn():
class ElasticConn:
def __init__(self, host_port, auth):
self.__es = es.Elasticsearch([host_port[0]],http_auth=auth,consumer_port=host_port[1])

Expand Down

0 comments on commit b9821d2

Please sign in to comment.