mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 19:27:14 +00:00
8 lines
195 B
Python
8 lines
195 B
Python
import pytest
|
|
from mitmproxy.utils import data
|
|
|
|
|
|
def test_pkg_data():
|
|
assert data.pkg_data.path("tools/console")
|
|
with pytest.raises(ValueError):
|
|
data.pkg_data.path("nonexistent")
|