Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/tests/unit/utils/test_utils.py
# Copyright (C) 2022 The Software Heritage developers | |||||
# See the AUTHORS file at the top-level directory of this distribution | |||||
# License: GNU General Public License version 3, or any later version | |||||
# See top-level LICENSE file for more information | |||||
import datetime | import datetime | ||||
from swh.graphql.utils import utils | from swh.graphql.utils import utils | ||||
class TestUtils: | class TestUtils: | ||||
def test_b64encode(self): | def test_b64encode(self): | ||||
assert utils.b64encode("testing") == "dGVzdGluZw==" | assert utils.b64encode("testing") == "dGVzdGluZw==" | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |