python-mock

A Python Mocking and Patching Library for Testing

mock is a Python module that provides a core Mock class. It removes the need to create a host of stubs throughout your test suite. After performing an action, you can make assertions about which methods / attributes were used and arguments they were called with. You can also specify return values and set needed attributes in the normal way.

  • Version 2.0.0
  • Size 124 KB
  • openSUSE Tumbleweed
Direct Install

Distributions

openSUSE Tumbleweed

official release Official
2.0.0

devel:languages:python Experimental
3.0.5
3.0.5
openSUSE:Factory:RISCV Experimental
2.0.0
3.0.5
home:aljex Community
3.0.5
home:cro Community
2.0.0
home:darix:matrix Community
2.0.0
3.0.5
3.0.5
home:mimi_vx:tools Community
2.0.0
3.0.5
3.0.5
2.0.0
3.0.5
home:winski:python Community
3.0.5

openSUSE Leap 15.1

official release Official
2.0.0

Cloud:OpenStack:Master Experimental
3.0.5
Cloud:OpenStack:Rocky Experimental
2.0.0
Cloud:OpenStack:Stein Experimental
2.0.0
devel:languages:python Experimental
3.0.5
3.0.5
home:aevseev Community
2.0.0
home:ecsos:server Community
3.0.5
2.0.0
home:winski:python Community
3.0.5

openSUSE Leap 15.0

official release Official
2.0.0

Cloud:OpenStack:Master Experimental
3.0.5
Cloud:OpenStack:Queens Experimental
2.0.0
Cloud:OpenStack:Rocky Experimental
2.0.0
Cloud:OpenStack:Stein Experimental
2.0.0
3.0.5
3.0.5
home:ecsos:server Community
3.0.5
3.0.5
2.0.0
3.0.5
home:winski:python Community
3.0.5

SUSE SLE-15-SP1

Cloud:OpenStack:Master Experimental
3.0.5
3.0.5
home:mimi_vx:tools Community
2.0.0

SUSE SLE-15

Cloud:OpenStack:Master Experimental
3.0.5
Cloud:OpenStack:Stein Experimental
2.0.0
3.0.5
home:mimi_vx:tools Community
2.0.0
2.0.0

SUSE SLE-12

Cloud:OpenStack:Kilo Experimental
1.0.1
server:Kolab:3.3 Experimental
1.0.1

SUSE SLE-11 SP 4

ScientificLinux 7

1.0.1

RedHat RHEL-7

1.3.0
1.0.1

RedHat RHEL-6

1.3.0

CentOS CentOS-7

home:aevseev Community
2.0.0
1.0.1

CentOS CentOS-6

home:aevseev Community
2.0.0

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.

openSUSE:Leap:42.1

2.0.0
1.3.0
2.0.0

openSUSE:Leap:42.2

2.0.0
2.0.0

openSUSE:Leap:42.3

3.0.5
2.0.0

SUSE:SLE-12:SLE-Module-Toolchain

3.0.5
3.0.5

SUSE:SLE-12:SLE-Module-Adv-Systems-Management

3.0.5
2.0.0
2.0.0

openSUSE:12.3

1.0.1

openSUSE:13.1

1.0.1

openSUSE:13.2

3.0.5
1.0.1

openSUSE:12.2

1.0.1
0.8.0

openSUSE:12.1

1.0.1
2.0.0
0.7.2

Fedora:26

Fedora:27

SUSE:SLE-11:SP2

SUSE:SLE-11:SP3

DISCONTINUED:openSUSE:10.3

1.0.1

DISCONTINUED:openSUSE:11.0

1.0.1

DISCONTINUED:openSUSE:11.1

1.0.1

DISCONTINUED:openSUSE:11.2

1.0.1

DISCONTINUED:openSUSE:11.3

1.0.1

openSUSE:11.4

1.0.1
1.0.1

Fedora:22