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

omaciel / fauxfactory / 168 / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v2.1.2
DEFAULT BRANCH: master
Ran 30 Sep 2014 08:30PM UTC
Files 2
Run time 1min
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

30 Sep 2014 08:26PM UTC coverage: 99.381%. Remained the same
168.3

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.

321 of 323 relevant lines covered (99.38%)

0.99 hits per line

Source Files on job 168.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 168
  • Travis Job 168.3
  • 7ef8fb50 on github
  • Prev Job for on deprecated (#166.2)
  • Next Job for on deprecated (#170.3)
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