Debian Codegraph @

debian/tests/os-path-exists

raw symbols SCIP
1 #!/usr/bin/python3
2
3 import os
4 import os.path
5
6 assert not os.path.exists("/proc/void")
7
8 import mockito
9
10 mockito.when(os.path).exists("/proc/void").thenReturn(True)
11
12 assert os.path.exists("/proc/void")