File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- Function breakdown
2
- ==================
1
+ Function breakdown and Testing Intro
2
+ ====================================
3
3
4
- In the * elex2/ * directory, we've chopped up the original
5
- election\_ results.py code into a bunch of functions and turned this code
6
- directory into a package by adding an \*\ _\_ init\_\_ .py\* file.
4
+ In the ` elex2/ < https://github.com/PythonJournos/refactoring101/tree/master/elex2 >`__
5
+ directory, we've chopped up the original election\_ results.py code into a bunch of functions and turned this code
6
+ directory into a package by adding an \_\_ init\_\_ .py file.
7
7
8
8
We've also added a suite of tests. This way we can methodically change
9
9
the underlying code in later phases, while having greater confidence
@@ -42,7 +42,7 @@ still be much improved. We'll get to that in Phase 3, when we introduce
42
42
Questions
43
43
---------
44
44
45
- - What is \*\ _\_ init\_\_ .py\* and why do we use it?
45
+ - What is \_\_ init\_\_ .py and why do we use it?
46
46
- In what order are test methods run?
47
47
- What does the TestCase *setUp * method do?
48
48
- What other TestCase methods are available?
You can’t perform that action at this time.
0 commit comments