Skip to content

Commit fb86687

Browse files
committed
urls are updated
1 parent 8ca7851 commit fb86687

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
<p align="center" width="100%">
5-
<img width="80%" src="https://github.com/msinamsina/automail/blob/main/docs/_static/automail-logo.png" >
5+
<img width="80%" src="https://github.com/msinamsina/automail/blob/main/docs/_static/automail-logo.png?raw=true" >
66
</p>
77

88

setup.cfg

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
[metadata]
22
name= pyautomail
33
author = Mohammad sina Allahkaram
4-
author_email = jmsinamsina@gmail.com
5-
description= A Python pkg and command-line interface for Sending email to your contact list
4+
author_email = msinamsina@gmail.com
5+
description= Automated Email Sending for Large Scale Email and Gmail Automation
66
long_description_content_type = text/markdown
77
project_urls =
8-
Bug Tracker = https://github.com/msinamsina/automail/issues
9-
Changelog = https://github.com/msinamsina/automail/releases
10-
Documentation = https://automail.readthedocs.io/en/latest/
11-
Source Code = https://github.com/msinamsina/automail
8+
Bug Tracker = https://github.com/msinamsina/pyautomail/issues
9+
Changelog = https://github.com/msinamsina/pyautomail/releases
10+
Documentation = https://pyautomail.readthedocs.io/en/latest/
11+
Source Code = https://github.com/msinamsina/pyautomail
1212
readme = "README.md"
1313
requires-python = ">=3.9"
1414
classifiers =
1515
Programming Language :: Python :: 3
1616
License :: OSI Approved :: MIT License
1717
Operating System :: OS Independent
1818

19-
url= https://github.com/msinamsina/automail
19+
url= https://github.com/msinamsina/pyautomail
2020

2121
[options]
2222
packages = find:

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
setup(
44
name='pyautomail',
5-
version='1.5.0',
5+
version='1.5.1.3',
66
packages=find_packages(),
7-
url='https://github.com/msinamsina/automail',
7+
url='https://github.com/msinamsina/pyautomail',
88
license='MIT',
99
author='Mohammad sina Allahkaram',
1010
author_email="msinamsina@gmail.com",
11-
description='A Python pkg and command-line interface for Sending email to your contact list',
11+
description='Automated Email Sending for Large Scale Email and Gmail Automation',
1212
install_requires=[
1313
'sqlalchemy',
1414
'sqlalchemy_utils',

tests/test_cli/test_cli_register.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@ def test_register_1():
1818

1919

2020
def test_register_2():
21-
os.remove("contact.csv")
21+
try:
22+
os.remove("contact.csv")
23+
except FileNotFoundError:
24+
pass
2225
result = runner.invoke(cli.app, ["register", "contact.csv"])
2326
assert result.exit_code == 2
2427
assert "Error: Invalid value for 'CONTACT_LIST': Path 'contact.csv' does not exist." in result.output
2528

2629

2730
def test_register_3():
2831

29-
shutil.rmtree("Contact List")
32+
shutil.rmtree("Contact List", ignore_errors=True)
3033
with open("contact.csv", "w") as f:
3134
f.write("name,email\n")
3235
f.write("John Doe,john@gmail.com\n")
@@ -42,7 +45,8 @@ def test_register_3():
4245
# check the database
4346
# go to the Contact List folder
4447
session, engine = get_session()
45-
assert session.query(Process).filter(Process.title == "Contact List").count() > 1
48+
assert session.query(Process).filter(Process.title == "Contact List").count() == 1
4649

4750
session.close()
4851
engine.dispose()
52+

0 commit comments

Comments
 (0)