コード例 #1
0
ファイル: test_rs_limits.py プロジェクト: klmitch/rs_limits
    def test_klass_only(self):
        args = mock.Mock(klass='class', delete=False)

        # Checking that no exceptions are raised
        rs_limits._check_arguments(args)
コード例 #2
0
ファイル: test_rs_limits.py プロジェクト: klmitch/rs_limits
    def test_delete_only(self):
        args = mock.Mock(klass=None, delete=True)

        # Checking that no exceptions are raised
        rs_limits._check_arguments(args)
コード例 #3
0
ファイル: test_rs_limits.py プロジェクト: klmitch/rs_limits
    def test_neither(self):
        args = mock.Mock(klass=None, delete=False)

        # Checking that no exceptions are raised
        rs_limits._check_arguments(args)