Browse Source

Why not make all executable python scripts executable using:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
sync
heck 2 years ago
parent
commit
47913909df
6 changed files with 16 additions and 1 deletions
  1. +3
    -1
      .hgignore
  2. +3
    -0
      test/basic_doctest.py
  3. +3
    -0
      test/codec_doctest.py
  4. +3
    -0
      test/doctest_PYADPT-55.py
  5. +2
    -0
      test/sync_handshake.py
  6. +2
    -0
      test/sync_test.py

+ 3
- 1
.hgignore View File

@ -22,4 +22,6 @@ test/lib
test/imap_settings.py
venv
launch.json
settings.json
settings.json
# Default ignored files
.idea/workspace.xml

+ 3
- 0
test/basic_doctest.py View File

@ -1,3 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
>>> import pEp
>>> me = pEp.Identity("alice.smith@peptest.ch", "Alice Smith", "23")


+ 3
- 0
test/codec_doctest.py View File

@ -1,3 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
>>> import pEp
>>> def messageToSend(msg):


+ 3
- 0
test/doctest_PYADPT-55.py View File

@ -1,3 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Regression test against API breakage
# colors used to be represented as a simple int
# NEW: colors are represented by colorvalue enum


+ 2
- 0
test/sync_handshake.py View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8 :
"""start a handshake test for one simulated device


+ 2
- 0
test/sync_test.py View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8 :
"""test runner for sync tests


Loading…
Cancel
Save