Skip to content

Commit

Permalink
modify test structures
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshipon committed Apr 7, 2024
1 parent 2eaf9d7 commit 508e500
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ repos:
- id: mypy
language: system
args: [--config-file, mypy.ini]
- repo: local
hooks:
- id: pytest
name: pytest
entry: pytest -s -v tests/
stages: [push]
language: system
pass_filenames: false
always_run: true
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "aiaccel"
version = "2.0.0"
description = "A library for accelerating research on AI Bridging Cloud Infrastructure (ABCI)."
readme = "README.md"
requires-python = ">=3.8.1,<3.12"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "AIST", email = "[email protected]"}
Expand Down
6 changes: 6 additions & 0 deletions tests/apps/hpo.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from unittest import TestCase


class TestHpo(TestCase): # TODO: implement your test here
def test_hpo(self) -> None:
assert True
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from unittest import TestCase


class TestNelderMead(unittest.TestCase):
class TestNelderMeadSampler(TestCase):
def test_nelder_mead(self) -> None:
assert True # TODO: implement your test here
6 changes: 0 additions & 6 deletions tests/unit_tests/test_aiaccel.py

This file was deleted.

0 comments on commit 508e500

Please sign in to comment.