Test checking exported (__all__) objects are submodules
()
| 186 | |
| 187 | |
| 188 | def test_valid_exported_submodules(): |
| 189 | """ |
| 190 | Test checking exported (__all__) objects are submodules |
| 191 | """ |
| 192 | results = module_completion("import os.pa") |
| 193 | # ensure we get a valid submodule: |
| 194 | assert "os.path" in results |
| 195 | # ensure we don't get objects that aren't submodules: |
| 196 | assert "os.pathconf" not in results |
nothing calls this directly
no test coverage detected
searching dependent graphs…