If you import this as `from glob import glob`, you should be able to mock the glob method with something like:

```python
with mock('glob.glob') as glob_mock:
   do_glob_thing()
   assert glob_mock.called
```