FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

remove dependency tests by Tieqiong · Pull Request #169 · diffpy/diffpy.pdfgui · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (3) All 1 file type selected
Deleted files Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
24 changes: 0 additions & 24 deletions src/diffpy/pdfgui/tests/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,4 @@ def test():
return result


def testdeps():
"""Execute all unit tests for diffpy.pdfgui and its dependencies.

Returns
-------
result : `unittest.TestResult`
"""
from importlib import import_module

modulenames = """
diffpy.pdfgui.tests
diffpy.structure.tests
diffpy.pdffit2.tests
diffpy.utils.tests
""".split()
suite = unittest.TestSuite()
for mname in modulenames:
mod = import_module(mname)
suite.addTests(mod.testsuite())
runner = unittest.TextTestRunner()
result = runner.run(suite)
return result


# End of file
5 changes: 0 additions & 5 deletions src/diffpy/pdfgui/tests/conftest.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
import json
import subprocess
from pathlib import Path

import pytest


def pytest_collection_modifyitems(session, config, items):
subprocess.run(["python", "-m", "diffpy.pdfgui.tests.rundeps"], check=True)


@pytest.fixture
def user_filesystem(tmp_path):
base_dir = Path(tmp_path)
Expand Down
30 changes: 0 additions & 30 deletions src/diffpy/pdfgui/tests/rundeps.py

This file was deleted.


Back | FazBrowse Home | New Git URL