☰
Debian Codegraph
@
1.4.0-2
1.4.0-1
/
/
debian
/
tests
/
os-path-exists
☽
☼
debian/tests/os-path-exists
code
plain
raw
symbols
SCIP
Apache-2.0
2021 Fabrice Bauzac <
[email protected]
>; 2023 Ileana Dumitrescu <
[email protected]
>
debian/copyright
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")