Skip to content

Commit 33a5a43

Browse files
committed
Update examples
1 parent f5772e6 commit 33a5a43

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

examples/presenter/py_virtual_envs.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def test_py_virtual_envs(self):
88
self.add_slide(
99
'<h2>Python Virtual Environments:</h2><br />\n'
1010
'<h2>What, Why, and How</h2><hr /><br />\n'
11-
'\n'
12-
'<h3>Presented by <b>Michael Mintz</b></h3>')
11+
'<h3>Presented by <b>Michael Mintz</b></h3>\n'
12+
'<p>Granite State Code Camp - Sat, Nov 14, 2020</p>')
1313
self.add_slide(
1414
'<p><b>About me:</b></p>\n'
1515
'<ul>'
@@ -108,15 +108,15 @@ def test_py_virtual_envs(self):
108108
'<p><b>List of commands from virtualenvwrapper</b></p>'
109109
'<hr /><br />',
110110
code=(
111-
'# Creating a virtual environment:\n'
111+
'# Create a virtual environment:\n'
112112
'mkvirtualenv ENV_NAME\n\n'
113-
'# Leaving your virtual environment:\n'
113+
'# Leave your virtual environment:\n'
114114
'deactivate\n\n'
115-
'# Returning to a virtual environment:\n'
115+
'# Return to a virtual environment:\n'
116116
'workon ENV_NAME\n\n'
117-
'# Listing all virtual environments:\n'
118-
'lsvirtualenv # OR "workon"\n\n'
119-
'# Deleting a virtual environment:\n'
117+
'# List all virtual environments:\n'
118+
'workon\n\n'
119+
'# Delete a virtual environment:\n'
120120
'rmvirtualenv ENV_NAME'))
121121
self.add_slide(
122122
'<p><b>Determining if you are in a virtual env</b></p>'

examples/test_skype_site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_skype_website_on_mobile(self):
3030
self.assert_text("Skype for Mobile", "h2")
3131
self.highlight("h2")
3232
self.highlight("#get-skype-0")
33-
self.highlight_click('span[aria-label="Get Skype for Android"]')
33+
self.highlight_click('[data-bi-name="arrow-dropdown-mobile"]')
3434
self.highlight('#get-skype-0_android-download')
3535
self.highlight('[data-bi-id*="ios"]')
3636
self.highlight('[data-bi-id*="windows10"]')

0 commit comments

Comments
 (0)