File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ class CreateAccountAndUser(object):
46
46
return self ._create_user(account)
47
47
48
48
# Protected methods
49
- # def _validate_user()
50
49
# ...
51
50
52
51
```
Original file line number Diff line number Diff line change 14
14
15
15
import os
16
16
import sys
17
+
17
18
sys .path .insert (0 , os .path .abspath ('..' ))
18
19
19
20
@@ -41,10 +42,6 @@ def _get_project_meta():
41
42
42
43
# -- General configuration ---------------------------------------------------
43
44
44
- # If your documentation needs a minimal Sphinx version, state it here.
45
- #
46
- # needs_sphinx = '1.0'
47
-
48
45
# Add any Sphinx extension module names here, as strings. They can be
49
46
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
50
47
# ones.
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ And we know that this pipeline can fail in several places:
16
16
17
17
1. Wrong ``username `` or ``email `` might be passed, so the validation will fail
18
18
2. ``Account `` with this ``username `` or ``email `` might already exist
19
- 3. ``User `` creation might fail as well, since it also makes an ``HTTP `` request to another micro-service deep inside
19
+ 3. ``User `` creation might fail as well,
20
+ since it also makes an ``HTTP `` request to another micro-service deep inside
20
21
21
22
Here's the code to illustrate the task.
22
23
You can’t perform that action at this time.
0 commit comments