Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at
from __future__ import absolute_import, print_function
from mozbuild.pythonutil import iter_modules_in_path
from mozunit import main
import os
def test_iter_modules_in_path():
tests_path = os.path.normcase(os.path.dirname(__file__))
paths = list(iter_modules_in_path(tests_path))
assert set(paths) == set(
os.path.join(os.path.abspath(tests_path), ""),
os.path.join(os.path.abspath(tests_path), ""),
if __name__ == "__main__":