File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,13 +33,3 @@ def test_bad_name():
3333 @cachier (backend = invalid_core )
3434 def dummy_func ():
3535 pass
36-
37-
38- def test_missing_mongetter ():
39- # Test that the appropriate exception is thrown
40- # when forgetting to specify the mongetter.
41- with pytest .raises (MissingMongetter ):
42-
43- @cachier (backend = "mongo" , mongetter = None )
44- def dummy_func ():
45- pass
Original file line number Diff line number Diff line change @@ -120,6 +120,17 @@ def _test_mongetter():
120120# === Mongo core tests ===
121121
122122
123+ @pytest .mark .mongo
124+ def test_missing_mongetter ():
125+ # Test that the appropriate exception is thrown
126+ # when forgetting to specify the mongetter.
127+ with pytest .raises (MissingMongetter ):
128+
129+ @cachier (backend = "mongo" , mongetter = None )
130+ def dummy_func ():
131+ pass
132+
133+
123134@pytest .mark .mongo
124135def test_information ():
125136 print ("\n pymongo version: " , end = "" )
You can’t perform that action at this time.
0 commit comments