from fabric.api import *

#def dev()
#def prod()

#def setup_host()

def hello():
    print("Hello world!")
    
def clean_db():
    local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")

def test():
    local("python manage.py test")
    
def clean_test():
    clean_db()
    test()



from fabric.api import *
    
def clean_db():
    local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")

def test():
    local("python manage.py test")
    
def clean_test():
    clean_db()
    test()



Remove noob fab method :-)
Remove noob fab method :-)

  from fabric.api import *
- 
- #def dev()
- #def prod()
- 
- #def setup_host()
- 
- def hello():
-     print("Hello world!")
      
  def clean_db():
      local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")
  
  def test():
      local("python manage.py test")
      
  def clean_test():
      clean_db()
      test()
  
  
  
Remove noob fab method :-)
## Code Before:
from fabric.api import *

#def dev()
#def prod()

#def setup_host()

def hello():
    print("Hello world!")
    
def clean_db():
    local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")

def test():
    local("python manage.py test")
    
def clean_test():
    clean_db()
    test()



## Instruction:
Remove noob fab method :-)
## Code After:
from fabric.api import *
    
def clean_db():
    local("rm -rf database/fst_demo.db;python manage.py syncdb --noinput;python manage.py loaddata fs_doc/fixtures/exempeldata.json")

def test():
    local("python manage.py test")
    
def clean_test():
    clean_db()
    test()


