]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/pybind: s/nosetests/python3/
authorKefu Chai <kchai@redhat.com>
Thu, 19 Dec 2019 03:36:59 +0000 (11:36 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 19 Dec 2019 03:52:56 +0000 (11:52 +0800)
different distros package python3-nose in different ways by adding
different postfix to "/usr/bin/nosetests" to differentiate it from
its python2 counterpart.

* on bionic, python3-nose offers "nosetests3"
* on el8, python3-nose offers "nosetests-3" and "nosetests-3.6"

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/pybind/test_ceph_argparse.py
src/test/pybind/test_ceph_daemon.py

index bda5bea1aaa722d2a9d3f59edacfbf9db7cce5fe..ed38c59bd7989cff4e332bbc2b05aa748e8a65c7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env nosetests 
+#!/usr/bin/env python3
 # -*- mode:python; tab-width:4; indent-tabs-mode:t; coding:utf-8 -*-
 # vim: ts=4 sw=4 smarttab expandtab fileencoding=utf-8
 #
index c2a96486ca32dfbe024e84719f802becbe34a42d..f3a229a8ceec461fb9f4bb848133d2744ee9b853 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env nosetests
+#!/usr/bin/env python3
 # -*- mode:python; tab-width:4; indent-tabs-mode:t -*-
 # vim: ts=4 sw=4 smarttab expandtab
 #