Skip to content

Instantly share code, notes, and snippets.

View berinhard's full-sized avatar
👾
let's play that

berin berinhard

👾
let's play that
View GitHub Profile
@felipecruz
felipecruz / django_tests_bolierplate.py
Created February 20, 2013 20:03
Generate models tests boilerplate code
from django.conf import settings
from django.db.models import get_apps, get_app, get_models
app = get_app('realestate')
source = '''
class %sTest(TestCase):
def test_import(self):
from %s import %s