Skip to content

Commit

Permalink
test: added test for geom.category
Browse files Browse the repository at this point in the history
  • Loading branch information
zerothi committed May 26, 2020
1 parent b5b0cbb commit 58bf59c
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion sisl/category/base.py → sisl/_category.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from functools import lru_cache
import numpy as np

from sisl._internal import set_module, singledispatchmethod
from ._internal import set_module, singledispatchmethod

__all__ = ["Category", "CompositeCategory", "NullCategory"]
__all__ += ["AndCategory", "OrCategory", "XOrCategory"]
Expand Down
3 changes: 0 additions & 3 deletions sisl/category/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion sisl/geom/category/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from functools import wraps
from sisl._internal import set_module
from sisl.category import Category, NullCategory
from sisl._category import Category, NullCategory
from sisl.geometry import AtomCategory


Expand Down
1 change: 1 addition & 0 deletions sisl/geom/category/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
""" tests for sisl/geom/category """
2 changes: 1 addition & 1 deletion sisl/geom/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/geom """
3 changes: 3 additions & 0 deletions sisl/geom/tests/test_geom.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
import numpy as np


pytestmark = [pytest.mark.geom]


def test_basis():
a = sc(2.52, Atom['Fe'])
a = bcc(2.52, Atom['Fe'])
Expand Down
2 changes: 1 addition & 1 deletion sisl/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from .atom import Atom, Atoms
from .shape import Shape, Sphere, Cube
from ._namedindex import NamedIndex
from .category import Category
from ._category import Category


__all__ = ['Geometry', 'sgeom']
Expand Down
2 changes: 1 addition & 1 deletion sisl/io/gulp/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/io/gulp """
2 changes: 1 addition & 1 deletion sisl/io/siesta/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/io/siesta """
2 changes: 1 addition & 1 deletion sisl/io/tbtrans/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/io/tbtrans """
2 changes: 1 addition & 1 deletion sisl/io/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/io """
2 changes: 1 addition & 1 deletion sisl/io/vasp/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/io/vasp """
2 changes: 1 addition & 1 deletion sisl/io/wannier90/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/io/wannier90 """
2 changes: 1 addition & 1 deletion sisl/linalg/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/linalg """
2 changes: 1 addition & 1 deletion sisl/mixing/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/mixing """
2 changes: 1 addition & 1 deletion sisl/physics/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/physics """
2 changes: 1 addition & 1 deletion sisl/shape/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/shape """
2 changes: 1 addition & 1 deletion sisl/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl """
2 changes: 1 addition & 1 deletion sisl/unit/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/unit """
2 changes: 1 addition & 1 deletion sisl/utils/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" test init for $d """
""" tests for sisl/utils """

0 comments on commit 58bf59c

Please sign in to comment.