(copy_method)
| 140 | |
| 141 | |
| 142 | def test_simple_copy(copy_method): |
| 143 | m = Model(a=24) |
| 144 | m2 = copy_method(m) |
| 145 | |
| 146 | assert m.a == m2.a == 24 |
| 147 | assert m.b == m2.b == 10 |
| 148 | assert m == m2 |
| 149 | |
| 150 | |
| 151 | @pytest.fixture(scope='session', name='ModelTwo') |
nothing calls this directly
no test coverage detected