Skip to content

Commit

Permalink
x out some tests temporarily and add ideas
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteOfKathy committed Jan 20, 2023
1 parent bb377d8 commit 5c52200
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,20 @@ def fetchTime():
glados_speak("It is {}".format(datetime.datetime.now().strftime("%H:%M")))


def remind(time, reason):
"""
Reminds you of something at a certain time.
"""
pass


def shutdownComputer(computer):
"""
Shuts down a computer.
"""
pass


# main to test functions
if __name__ == "__main__":
# fetchWeather("work")
Expand Down
8 changes: 4 additions & 4 deletions test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,31 @@ def test_fetchWeather():
assert True


def test_loginCalendar():
def xtest_loginCalendar():
try:
commands.loginCalendar()
except Exception as e:
assert False, e.args[0]
assert True


def test_readEmails():
def xtest_readEmails():
try:
commands.readEmails(True)
except Exception as e:
assert False, e.args[0]
assert True


def test_fetchCalender():
def xtest_fetchCalender():
try:
commands.fetchCalender()
except Exception as e:
assert False, e.args[0]
assert True


def test_addEventCalendar():
def xtest_addEventCalendar():
try:
# add an event to the calendar specifying the start date and start time as now
commands.addEventCalendar("Test Event", dt.datetime.now(), dt.datetime.now())
Expand Down

0 comments on commit 5c52200

Please sign in to comment.