Move all contrib.meth tests to tests/native_tests/contrib/.
This commit is contained in:
parent
d34c22eeac
commit
db9b9c6876
@ -15,4 +15,4 @@ from .native_tests.reader_macros import * # noqa
|
|||||||
from .native_tests.with_test import * # noqa
|
from .native_tests.with_test import * # noqa
|
||||||
from .native_tests.contrib.anaphoric import * # noqa
|
from .native_tests.contrib.anaphoric import * # noqa
|
||||||
from .native_tests.contrib.loop import * # noqa
|
from .native_tests.contrib.loop import * # noqa
|
||||||
from .contrib.test_meth import * # noqa
|
from .native_tests.contrib.meth import * # noqa
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
(defclass FakeMeth []
|
(defclass FakeMeth []
|
||||||
"Mocking decorator class"
|
"Mocking decorator class"
|
||||||
[[rules {}]
|
[[rules {}]
|
||||||
[route (fn [self rule &kwargs options]
|
[route (fn [self rule &kwargs options]
|
||||||
(fn [f]
|
(fn [f]
|
||||||
(assoc self.rules rule (, f options))
|
(assoc self.rules rule (, f options))
|
||||||
f))]])
|
f))]])
|
Loading…
x
Reference in New Issue
Block a user