This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sqlalchemy import create_engine | |
from sqlalchemy.orm import Session | |
from myapp.models import BaseModel | |
import pytest | |
@pytest.fixture(scope='session') | |
def engine(): | |
return create_engine('postgresql://localhost/test_database) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tested on Ubuntu 18.04 | |
# with Python 3.6 | |
# Instructions: Run it line by line and follow the instructions in the comments (just one) | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install python3 python3-dev python3-pip build-essential git | |
sudo -H pip3 install --upgrade pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "solid", | |
"color_scheme": "Packages/One Dark Color Scheme/One Dark.tmTheme", | |
"fold_buttons": true, | |
"font_options": "subpixel_antialias", | |
"font_size": 10, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme", | |
"font_options": "subpixel_antialias", | |
"font_size": 12, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" |