Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 6, 2025
1 parent 42e76ce commit e8a3a51
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/tools/dumping/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
# TODO: Test that de-duplication also works for calculations
# TODO: Test incremental dumping

from datetime import datetime
from pathlib import Path

import pytest

from aiida import orm
from aiida.tools.dumping import CollectionDumper, collection
from aiida.tools.dumping import CollectionDumper

from .test_utils import compare_tree

Expand Down Expand Up @@ -84,9 +83,7 @@ def test_should_dump_processes(self, setup_no_process_group, setup_add_group):

assert collection_dumper.should_dump_processes() is True


def test_get_nodes_add_group(self, setup_add_group):

add_group: orm.Group = setup_add_group

collection_dumper = CollectionDumper(collection=add_group)
Expand Down Expand Up @@ -261,4 +258,4 @@ def test_dump_calculations(self, setup_add_group, setup_multiply_add_group, tmp_

# with pytest.raises(TypeError):
# collection_dumper = CollectionDumper(collection=[1])
# collection_dumper._get_nodes()
# collection_dumper._get_nodes()

0 comments on commit e8a3a51

Please sign in to comment.