Skip to content

Commit 770f35f

Browse files
committed
Move tests outside src, as per convention. See #1711.
1 parent 829ff5e commit 770f35f

4 files changed

Lines changed: 17 additions & 1 deletion

File tree

src/ifcopenshell-python/Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.PHONY: test
2+
test:
3+
pytest -o "testpaths=test"
4+
5+
.PHONY: coverage
6+
coverage:
7+
coverage run --source ifcopenshell -m pytest
8+
coverage html
9+
xdg-open htmlcov/index.html
10+
11+
.PHONY: clean
12+
clean:
13+
rm -rf htmlcov

src/ifcopenshell-python/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ifcopenshell-python
2+
3+
Python bindings, utility functions, and high-level API for IfcOpenShell.

src/ifcopenshell-python/ifcopenshell/test_ids.py renamed to src/ifcopenshell-python/test/test_ids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
import ids
2+
from ifcopenshell import ids
33

44
# from ids import ids
55
import requests
File renamed without changes.

0 commit comments

Comments
 (0)