liboqs/tests/test_style.py
Douglas Stebila ca66375f30
Switch from clang-format to astyle (#613)
* Initial format with astyle

* Fix templating to match

* Fix files with missing newline at EOF

* Remove old line

* Remove old .clang-format spec

* Add prettyprint target to CMake
2020-02-15 23:34:31 -05:00

18 lines
349 B
Python

import helpers
import pytest
import sys
@helpers.filtered_test
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not needed on Windows")
def test_style():
result = helpers.run_subprocess(
['tests/test_style.sh']
)
assert 'Formatted' not in result
if __name__ == "__main__":
import sys
pytest.main(sys.argv)