Browse Source

AGPL 3.0 headers

pull/4/head
heck 11 months ago
parent
commit
a03295b495
10 changed files with 31 additions and 3 deletions
  1. +2
    -0
      tests/__init__.py
  2. +3
    -0
      tests/conftest.py
  3. +3
    -0
      tests/constants.py
  4. +5
    -1
      tests/model.py
  5. +2
    -1
      tests/test_basic.py
  6. +3
    -0
      tests/test_identity.py
  7. +3
    -0
      tests/test_message.py
  8. +3
    -0
      tests/test_pep.py
  9. +5
    -1
      tests/utils.py
  10. +2
    -0
      utils/pEp

+ 2
- 0
tests/__init__.py View File

@ -1 +1,3 @@
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt

+ 3
- 0
tests/conftest.py View File

@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
"""pytest configuration for the unit tests."""
from .model import *


+ 3
- 0
tests/constants.py View File

@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
"""Constants for unit tests."""
DATADIR = "data"


+ 5
- 1
tests/model.py View File

@ -1,4 +1,8 @@
from . import utils
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
# from . import utils
import pytest


+ 2
- 1
tests/test_basic.py View File

@ -1,5 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
# from . import constants
import pytest


+ 3
- 0
tests/test_identity.py View File

@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
"""Identity unit tests."""
import pytest


+ 3
- 0
tests/test_message.py View File

@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
"""Message unit tests."""
from . import constants


+ 3
- 0
tests/test_pep.py View File

@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
"""Unit test for pEp package, not for subpackages or modules."""


+ 5
- 1
tests/utils.py View File

@ -1,4 +1,8 @@
from . import constants
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
# from . import constants
import pathlib


+ 2
- 0
utils/pEp View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This file is under GNU Affero General Public License 3.0
# see LICENSE.txt
"""


Loading…
Cancel
Save