Skip to content

Commit 58bf59c

Browse files
committed
test: added test for geom.category
1 parent b5b0cbb commit 58bf59c

File tree

20 files changed

+21
-20
lines changed

20 files changed

+21
-20
lines changed

sisl/category/base.py renamed to sisl/_category.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from functools import lru_cache
44
import numpy as np
55

6-
from sisl._internal import set_module, singledispatchmethod
6+
from ._internal import set_module, singledispatchmethod
77

88
__all__ = ["Category", "CompositeCategory", "NullCategory"]
99
__all__ += ["AndCategory", "OrCategory", "XOrCategory"]

sisl/category/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

sisl/geom/category/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from functools import wraps
22
from sisl._internal import set_module
3-
from sisl.category import Category, NullCategory
3+
from sisl._category import Category, NullCategory
44
from sisl.geometry import AtomCategory
55

66

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
""" tests for sisl/geom/category """

sisl/geom/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" test init for $d """
1+
""" tests for sisl/geom """

sisl/geom/tests/test_geom.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
import numpy as np
88

99

10+
pytestmark = [pytest.mark.geom]
11+
12+
1013
def test_basis():
1114
a = sc(2.52, Atom['Fe'])
1215
a = bcc(2.52, Atom['Fe'])

sisl/geometry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from .atom import Atom, Atoms
2828
from .shape import Shape, Sphere, Cube
2929
from ._namedindex import NamedIndex
30-
from .category import Category
30+
from ._category import Category
3131

3232

3333
__all__ = ['Geometry', 'sgeom']

sisl/io/gulp/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" test init for $d """
1+
""" tests for sisl/io/gulp """

sisl/io/siesta/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" test init for $d """
1+
""" tests for sisl/io/siesta """

sisl/io/tbtrans/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
""" test init for $d """
1+
""" tests for sisl/io/tbtrans """

0 commit comments

Comments
 (0)