PATH: //lib/python3.9/site-packages/acme/_internal/tests
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📁 __pycache__/
X
📄 challenges_test.py
↓
X
📄 client_test.py
↓
X
📄 crypto_util_test.py
↓
X
📄 errors_test.py
↓
X
📄 fields_test.py
↓
X
📄 jose_test.py
↓
X
📄 jws_test.py
↓
X
📄 messages_test.py
↓
X
📄 standalone_test.py
↓
X
📄 test_util.py
↓
X
📁 testdata/
X
📄 util_test.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: util_test.py
"""Tests for acme.util.""" import sys import unittest import pytest def test_it(): from acme.util import map_keys assert {'a': 'b', 'c': 'd'} == \ map_keys({'a': 'b', 'c': 'd'}, lambda key: key) assert {2: 2, 4: 4} == map_keys({1: 2, 3: 4}, lambda x: x + 1) if __name__ == '__main__': sys.exit(pytest.main(sys.argv[1:] + [__file__])) # pragma: no cover
SIMPAN PERUBAHAN