File: constants.py

package info (click to toggle)
python-bel-resources 0.0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 208 kB
  • sloc: python: 896; sh: 20; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- coding: utf-8 -*-

"""Testing resources for PyBEL."""

import os

HERE = os.path.dirname(os.path.realpath(__file__))

RESOURCES_DIRECTORY_PATH = os.path.join(HERE, 'resources')

TEST_ANNOTATION_PATH = os.path.join(RESOURCES_DIRECTORY_PATH, 'test_an_1.belanno')
assert os.path.exists(TEST_ANNOTATION_PATH)

TEST_NAMESPACE_EMPTY_PATH = os.path.join(RESOURCES_DIRECTORY_PATH, 'test_ns_empty.belns')
assert os.path.exists(TEST_NAMESPACE_EMPTY_PATH)