回答編集履歴
2
add
test
CHANGED
@@ -53,3 +53,11 @@
|
|
53
53
|
self.assertEqual('testtest', test_obj.execute())
|
54
54
|
|
55
55
|
```
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
---
|
60
|
+
|
61
|
+
分かりやすかったので、追記しておきます。
|
62
|
+
|
63
|
+
http://note.crohaco.net/2015/python-mock/
|
1
add
test
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
https://semaphoreci.com/community/tutorials/getting-started-with-mocking-in-python
|
4
4
|
|
5
5
|
ここがわかりやすく例示しているかと思います。
|
6
|
+
|
7
|
+
patchについては、http://atsuoishimoto.hatenablog.com/entry/20120310/1331311730
|
6
8
|
|
7
9
|
|
8
10
|
|