예제 #1
0
def test_pep257():
    excluded = ['ament_cpplint/cpplint.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found docblock style errors'
예제 #2
0
def test_pep257():
    rc = main(argv=['ament_tools', 'scripts', 'test'])
    assert rc == 0, 'Found code style errors / warnings'
예제 #3
0
def test_pep257():
    # Test is called from package root
    rc = main(argv=['.'])
    assert rc == 0, 'Found code style errors / warnings'
예제 #4
0
def test_pep257():
    rc = main(argv=['.', 'test'])
    assert rc == 0, 'Found code style errors / warnings'
예제 #5
0
def test_pep257():
    rc = main(argv=['ament_clang_format', 'test'])
    assert rc == 0, 'Found docblock style errors'
예제 #6
0
def test_pep257():
    rc = main(argv=[".", "test"])
    assert rc == 0, "Found code style errors / warnings"
예제 #7
0
def test_pep257():
    rc = main(argv=[])
    assert rc == 0, 'Found docblock style errors'
예제 #8
0
def test_pep257():
    rc = main(argv=['.', '--exclude', 'webots_ros2_core/math/quaternions.py'])
    assert rc == 0, 'Found code style errors / warnings'
예제 #9
0
def test_pep257():
    rc = main(argv=[])
    assert rc == 0, 'Found docblock style errors'
예제 #10
0
def test_pep257():
    rc = main(argv=['.', '--exclude', 'webots_ros2_importer/urdf2webots/'])
    assert rc == 0, 'Found code style errors / warnings'
예제 #11
0
def test_pep257():
    assert main(argv=[]) == 0, 'Found code style errors / warnings'
예제 #12
0
def test_pep257():
    rc = main(argv=["ament_clang_format", "test"])
    assert rc == 0, "Found docblock style errors"
예제 #13
0
def test_pep257():
    rc = main(argv=['.'])
    assert rc == 0, 'Found code style errors / warnings'
예제 #14
0
def test_pep257():
    rc = main(argv=[])
    assert rc == 0, 'Found errors'
예제 #15
0
def test_pep257():
    """Run pep257 on the package."""
    return_code = main(argv=[".", "test"])
    assert return_code == 0, "Found code style errors / warnings"  # nosec