Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
f8cecc0e
Commit
f8cecc0e
authored
Feb 17, 2012
by
Michal 'vorner' Vaner
Browse files
[1643] Empty module for tsig keyring
parent
c540444d
Changes
7
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
f8cecc0e
...
...
@@ -1001,6 +1001,8 @@ AC_CONFIG_FILES([Makefile
src/lib/python/isc/bind10/tests/Makefile
src/lib/python/isc/xfrin/Makefile
src/lib/python/isc/xfrin/tests/Makefile
src/lib/python/isc/server_common/Makefile
src/lib/python/isc/server_common/tests/Makefile
src/lib/config/Makefile
src/lib/config/tests/Makefile
src/lib/config/tests/testdata/Makefile
...
...
src/lib/python/isc/Makefile.am
View file @
f8cecc0e
SUBDIRS
=
datasrc cc config dns log net notify util testutils acl bind10
SUBDIRS
+=
xfrin log_messages
SUBDIRS
+=
xfrin log_messages
server_common
python_PYTHON
=
__init__.py
...
...
src/lib/python/isc/server_common/Makefile.am
0 → 100644
View file @
f8cecc0e
SUBDIRS
=
tests
python_PYTHON
=
__init__.py tsig_keyring.py
pythondir
=
$(pyexecdir)
/isc/server_common
CLEANDIRS
=
__pycache__
clean-local
:
rm
-rf
$(CLEANDIRS)
src/lib/python/isc/server_common/__init__.py
0 → 100644
View file @
f8cecc0e
src/lib/python/isc/server_common/tests/Makefile.am
0 → 100644
View file @
f8cecc0e
PYCOVERAGE_RUN
=
@PYCOVERAGE_RUN@
PYTESTS
=
tsig_keyring_test.py
EXTRA_DIST
=
$(PYTESTS)
# If necessary (rare cases), explicitly specify paths to dynamic libraries
# required by loadable python modules.
LIBRARY_PATH_PLACEHOLDER
=
if
SET_ENV_LIBRARY_PATH
LIBRARY_PATH_PLACEHOLDER
+=
$(ENV_LIBRARY_PATH)
=
$(abs_top_builddir)
/src/lib/cryptolink/.libs:
$(abs_top_builddir)
/src/lib/dns/.libs:
$(abs_top_builddir)
/src/lib/dns/python/.libs:
$(abs_top_builddir)
/src/lib/cc/.libs:
$(abs_top_builddir)
/src/lib/config/.libs:
$(abs_top_builddir)
/src/lib/log/.libs:
$(abs_top_builddir)
/src/lib/util/.libs:
$(abs_top_builddir)
/src/lib/exceptions/.libs:
$(abs_top_builddir)
/src/lib/datasrc/.libs:
$$$(ENV_LIBRARY_PATH)
endif
# test using command-line arguments, so use check-local target instead of TESTS
check-local
:
if
ENABLE_PYTHON_COVERAGE
touch
$(abs_top_srcdir)/.coverage
rm
-f
.coverage
${LN_S}
$(abs_top_srcdir)/.coverage
.coverage
endif
for
pytest
in
$(PYTESTS)
;
do
\
echo Running test
:
$$pytest ;
\
$(LIBRARY_PATH_PLACEHOLDER)
\
PYTHONPATH=$(COMMON_PYTHON_PATH):$(abs_top_builddir)/src/lib/dns/python/.libs
\
$(PYCOVERAGE_RUN) $(abs_srcdir)/$$pytest || exit ;
\
done
src/lib/python/isc/server_common/tests/tsig_keyring_test.py
0 → 100644
View file @
f8cecc0e
# Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SYSTEMS CONSORTIUM
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
# INTERNET SYSTEMS CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
"""
Tests for isc.server_common.tsig_keyring.
"""
import
unittest
import
isc.server_common.tsig_keyring
if
__name__
==
"__main__"
:
unittest
.
main
()
src/lib/python/isc/server_common/tsig_keyring.py
0 → 100644
View file @
f8cecc0e
# Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SYSTEMS CONSORTIUM
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
# INTERNET SYSTEMS CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment