summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
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
+}