aboutsummaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-03-13 08:57:26 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-03-13 08:57:26 +0100
commit350fa7670ff63d0833d80edee42c1a798c3064c3 (patch)
tree262d519ea409f88f4acad615fec24b64829860c7 /unittest
parent1a83474580406d2b40b1326e07db4d7d4b26aab8 (diff)
parent22a2e94a482f32415c8e130b64be58f090c52ac5 (diff)
downloadlibnitrokey-350fa7670ff63d0833d80edee42c1a798c3064c3.tar.gz
libnitrokey-350fa7670ff63d0833d80edee42c1a798c3064c3.tar.bz2
Merge branch 'licenses_update'
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test_multiple.py21
-rw-r--r--unittest/test_multiple_devices.cc22
2 files changed, 42 insertions, 1 deletions
diff --git a/unittest/test_multiple.py b/unittest/test_multiple.py
index 7ea195e..3f1d2d5 100644
--- a/unittest/test_multiple.py
+++ b/unittest/test_multiple.py
@@ -1,3 +1,24 @@
+"""
+Copyright (c) 2017-2018 Nitrokey UG
+
+This file is part of libnitrokey.
+
+libnitrokey is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+any later version.
+
+libnitrokey is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with libnitrokey. If not, see <http://www.gnu.org/licenses/>.
+
+SPDX-License-Identifier: LGPL-3.0
+"""
+
import pprint
from time import sleep
diff --git a/unittest/test_multiple_devices.cc b/unittest/test_multiple_devices.cc
index f497908..81d18c9 100644
--- a/unittest/test_multiple_devices.cc
+++ b/unittest/test_multiple_devices.cc
@@ -1,3 +1,23 @@
+/*
+ * Copyright (c) 2017-2018 Nitrokey UG
+ *
+ * This file is part of libnitrokey.
+ *
+ * libnitrokey is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * libnitrokey is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with libnitrokey. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * SPDX-License-Identifier: LGPL-3.0
+ */
static const char *const default_admin_pin = "12345678";
static const char *const default_user_pin = "123456";
@@ -149,4 +169,4 @@ TEST_CASE("Use API ID refresh", "[BASIC]") {
}
}
std::cout << "finished" << std::endl;
-} \ No newline at end of file
+}