• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

omaciel / fauxfactory / 170
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v2.1.2
DEFAULT BRANCH: master
Ran 30 Sep 2014 08:55PM UTC
Jobs 3
Files 2
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
170

push

travis-ci

omaciel
Display deprecation warning for ``FauxFactory``.

Now when someone imports ``FauxFactory`` and uses any of its 'older'
functions, a deprecation warning message will be displayed as shown
below:

```python
In [1]: from fauxfactory import FauxFactory
fauxfactory/__init__.py:723: Warning: The FauxFactory class is deprecated. Please use functions from the fauxfactory module instead.
  category=Warning)

In [2]: FauxFactory.generate_alpha()
fauxfactory/__init__.py:696: Warning: Function generate_alpha is now deprecated! Please update your your code to use the gen_alpha function instead.
  warnings.warn(warn_message.format(name, new_name), category=Warning)
Out[2]: u'miRSshikjd'
```

Tests included. Closes #51.

320 of 321 relevant lines covered (99.69%)

2.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 170.1 30 Sep 2014 08:55PM UTC 0
97.51
Travis Job 170.1
2 170.2 30 Sep 2014 08:57PM UTC 0
99.38
Travis Job 170.2
3 170.3 30 Sep 2014 08:56PM UTC 0
99.38
Travis Job 170.3
Source Files on build 170
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #170
  • 029e5bd2 on github
  • Prev Build on deprecated (#168)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc