Skip to content

Instantly share code, notes, and snippets.

View doojinkang's full-sized avatar

Doojin Kang doojinkang

View GitHub Profile
import unittest
class User:
number = 1
articles = []
# def __init__(self):
# self.number = 1
# self.articles = []
@doojinkang
doojinkang / functional_tests.py
Created January 16, 2017 06:30
Add unittest harness to functional test
#!/usr/bin/env python
from selenium import webdriver
import unittest
class FuncitonalTest(unittest.TestCase):
def test_first_ft(self):
browser = webdriver.Chrome()
browser.get('http://localhost:8000')