Skip to content

Commit

Permalink
Move unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mthrok committed Sep 21, 2016
1 parent 749bdcb commit 94ad1e2
Show file tree
Hide file tree
Showing 21 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def run(self):
'luchador = luchador.exercise:entry_point',
]
},
test_suite='tests',
test_suite='tests.unit',
install_requires=[
'gym',
'h5py',
Expand Down
8 changes: 0 additions & 8 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
from __future__ import absolute_import

import logging

logging.basicConfig(
level=logging.ERROR,
format='%(pathname)s:%(lineno)d:%(message)s',
)
8 changes: 8 additions & 0 deletions tests/unit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from __future__ import absolute_import

import logging

logging.basicConfig(
level=logging.ERROR,
format='%(pathname)s:%(lineno)d:%(message)s',
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import unittest

from tests.fixture import get_initializers
from tests.unit.fixture import get_initializers
from luchador.nn import get_initializer

INITIALIZERS = get_initializers()
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import unittest

from tests.fixture import get_optimizers
from tests.unit.fixture import get_optimizers
from luchador.nn import get_optimizer

OPTIMIZERS = get_optimizers()
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/nn/util_test.py → tests/unit/nn/util_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import unittest

from tests.fixture import (
from tests.unit.fixture import (
get_layers,
get_optimizers,
get_initializers,
Expand Down

0 comments on commit 94ad1e2

Please sign in to comment.